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.001862/0.001862, allocations: 93.47 kB / 19.44 MB, free: 332 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.002255/0.002255, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.324/1.324, allocations: 154.8 MB / 414.4 MB, free: 448 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 178] 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.993e-06/1.993e-06, allocations: 0 / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.881e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00173/0.001759, allocations: 0.6046 MB / 0.5205 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.003447, allocations: 1.144 MB / 0.5216 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.003491, allocations: 4 kB / 0.5216 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.003592, allocations: 3.938 kB / 0.5216 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.003621, allocations: 3.984 kB / 0.5216 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.004084, allocations: 124.1 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.004251, allocations: 87.89 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.004331, allocations: 0.5625 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.004427, allocations: 52.45 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.004528, allocations: 27.95 kB / 0.5219 GB, free: 284 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.004554, allocations: 8.969 kB / 0.5219 GB, free: 276 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.004625, allocations: 23.97 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.004678, allocations: 9.469 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.004741, allocations: 27.91 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.004934, allocations: 107.7 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004937, allocations: 0 / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004938, allocations: 0.75 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004942, allocations: 0 / 0.522 GB, free: 108 kB / 490.7 MB 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.0007022/0.005644, allocations: 406.4 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.005685, allocations: 12.03 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.005746, allocations: 10.91 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.005939, allocations: 128.5 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.005956, allocations: 4.375 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.005974, allocations: 4.375 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.006079, allocations: 46.25 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.006088, allocations: 4.625 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.006098, allocations: 5.094 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.006101, allocations: 384 / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.006135, allocations: 16.48 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.00653, allocations: 291.8 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.006604, allocations: 36.42 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.006627, allocations: 11.75 kB / 0.523 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-06/0.006635, allocations: 0 / 0.523 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.006756, allocations: 73.75 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.006757, allocations: 0 / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002182/0.006975, allocations: 70.48 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.007019, allocations: 51.41 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.007171, allocations: 176.9 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.0072, allocations: 29.7 kB / 0.5233 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.007288, allocations: 134.8 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-06/0.007297, allocations: 4 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.007375, allocations: 39.34 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002472/0.007622, allocations: 0.4884 MB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.00773, allocations: 61.69 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.007861, allocations: 96.73 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.007997, allocations: 102.5 kB / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007998, allocations: 0 / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003262/0.008324, allocations: 197.9 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.008365, allocations: 33.69 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.008369, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.008382, allocations: 8.875 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.397e-05/0.008396, allocations: 0 / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.0084, allocations: 0 / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.00857, allocations: 24.73 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.008593, allocations: 8.922 kB / 0.5245 GB, free: 13.31 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 0.0001201/0.008713, allocations: 157.8 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.008731, allocations: 11.94 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.00875, allocations: 7.938 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008751, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.008754, allocations: 0.625 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.008759, allocations: 4.641 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.008888, allocations: 124.8 kB / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.008891, allocations: 4.516 kB / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.121e-05/0.008902, allocations: 8 kB / 0.5248 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.008906, allocations: 6.969 kB / 0.5248 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.008911, allocations: 0 / 0.5248 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008912, allocations: 0 / 0.5248 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008913, allocations: 0 / 0.5248 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.009051, allocations: 88.44 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.009057, allocations: 4 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.009075, allocations: 7.922 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.595e-05/0.009091, allocations: 4 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.009119, allocations: 7.125 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.009123, allocations: 0 / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.379e-05/0.009197, allocations: 131.1 kB / 0.525 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009197, allocations: 0 / 0.525 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002073/0.009404, allocations: 20 kB / 0.5251 GB, free: 12.67 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 0.0001529/0.009557, allocations: 95.25 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.009827, allocations: 170.8 kB / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009828, allocations: 0 / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.681e-05/0.009875, allocations: 27.61 kB / 0.5253 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.01008, allocations: 11.98 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.0104, allocations: 138.1 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.55e-05/0.01048, allocations: 71.28 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.0105, allocations: 7.984 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.01052, allocations: 11.25 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01052, allocations: 0 / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.004369/0.01489, allocations: 1.17 MB / 0.5267 GB, free: 10.99 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: 6.021259478991851]