Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009588/0.0009588, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9671/0.9671, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7788/0.7788, allocations: 154.8 MB / 414.7 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5205 GB, free: 1.961 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.639e-05, allocations: 4 kB / 0.5205 GB, free: 1.957 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001092/0.001109, allocations: 0.6145 MB / 0.5211 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.0022, allocations: 1.171 MB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.002246, allocations: 0 / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.002346, allocations: 4.922 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.776e-05/0.002374, allocations: 15.88 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.002737, allocations: 124.8 kB / 0.5224 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.002869, allocations: 87.91 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.289e-05/0.002942, allocations: 5.312 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.003005, allocations: 47.88 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.003092, allocations: 23.95 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.003114, allocations: 8.812 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.00317, allocations: 23.98 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.003224, allocations: 11.92 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.003274, allocations: 29.25 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.003431, allocations: 75.78 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003433, allocations: 7.938 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.91e-07/0.003434, allocations: 1.344 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.003439, allocations: 0 / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004008/0.00384, allocations: 406.3 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.003887, allocations: 8.031 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.003935, allocations: 9.719 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.004078, allocations: 120.6 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.004092, allocations: 10.19 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.004109, allocations: 8.359 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.004188, allocations: 42.25 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.004197, allocations: 192 / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.004205, allocations: 384 / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.004214, allocations: 6.469 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.633e-05/0.00423, allocations: 11.88 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.004478, allocations: 283.8 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.004517, allocations: 27.06 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.055e-05/0.004528, allocations: 9.156 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-06/0.004531, allocations: 0 / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.615e-05/0.004608, allocations: 80.95 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 5.82e-07/0.004608, allocations: 0 / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001403/0.004748, allocations: 58.61 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.004773, allocations: 55.41 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.005082, allocations: 173.9 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.005096, allocations: 26.67 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.005142, allocations: 146.8 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.00515, allocations: 4.953 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.005195, allocations: 39.36 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.005295, allocations: 0.4883 MB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.005354, allocations: 58.55 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.005413, allocations: 80.75 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.658e-05/0.00548, allocations: 82.03 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005482, allocations: 3.938 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001601/0.005642, allocations: 178.1 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.005666, allocations: 33.7 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.005671, allocations: 0.5 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.005684, allocations: 1.781 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.32e-05/0.005697, allocations: 4 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.005703, allocations: 3.984 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.005809, allocations: 15.98 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.005821, allocations: 5.719 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.005883, allocations: 160.6 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.005893, allocations: 15.88 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.005914, allocations: 4 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005916, allocations: 0.8125 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.005919, allocations: 4 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005921, allocations: 1.156 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.514e-05/0.005986, allocations: 116.6 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.005987, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-06/0.005992, allocations: 10.81 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005994, allocations: 3.938 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.005999, allocations: 3.938 kB / 0.5254 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005999, allocations: 0 / 0.5254 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006, allocations: 0 / 0.5254 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.766e-05/0.006068, allocations: 88.42 kB / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.006072, allocations: 0 / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.006083, allocations: 8.25 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.00609, allocations: 2.75 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.006112, allocations: 4 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.006116, allocations: 3.984 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.006153, allocations: 131.2 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006153, allocations: 0 / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001391/0.006292, allocations: 15.95 kB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.702e-05/0.006389, allocations: 112 kB / 0.5258 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.006538, allocations: 142.1 kB / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006539, allocations: 0 / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.977e-05/0.006559, allocations: 19.95 kB / 0.5259 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.006703, allocations: 9.406 kB / 0.5259 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.006929, allocations: 142.2 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.006959, allocations: 55.98 kB / 0.5261 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.481e-05/0.006974, allocations: 3.984 kB / 0.5261 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.006991, allocations: 13.19 kB / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.006991, allocations: 0 / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.00249/0.009481, allocations: 1.168 MB / 0.5273 GB, free: 10.75 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.820192721206695]