Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001529/0.001529, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001638/0.001638, allocations: 173 kB / 23.49 MB, free: 1.055 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.055/1.055, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8168/0.8168, allocations: 154.6 MB / 414.9 MB, free: 0.6445 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.298e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001445/0.001478, allocations: 0.6111 MB / 0.5209 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.002682, allocations: 1.177 MB / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.002733, allocations: 0 / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.002833, allocations: 3.938 kB / 0.5221 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.272e-05/0.002856, allocations: 0 / 0.5221 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.003259, allocations: 124.8 kB / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.003389, allocations: 91.81 kB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.003482, allocations: 4 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.003558, allocations: 47.91 kB / 0.5223 GB, free: 492 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.003651, allocations: 32.5 kB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.00367, allocations: 8.562 kB / 0.5224 GB, free: 452 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.908e-05/0.003729, allocations: 15.98 kB / 0.5224 GB, free: 436 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.003794, allocations: 8.938 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.003851, allocations: 35.89 kB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.004009, allocations: 77.16 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.004013, allocations: 0 / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.004014, allocations: 0 / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.00402, allocations: 0 / 0.5225 GB, free: 316 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.0004538/0.004473, allocations: 406.8 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.004515, allocations: 16.94 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.004573, allocations: 4.938 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.004723, allocations: 128.6 kB / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.004737, allocations: 10.3 kB / 0.523 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.004754, allocations: 4.375 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/0.004842, allocations: 46.19 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004849, allocations: 192 / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.004858, allocations: 384 / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.004866, allocations: 1.344 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.004884, allocations: 7.938 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.005165, allocations: 288.6 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.094e-05/0.005206, allocations: 27 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.005221, allocations: 16.88 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.005226, allocations: 0 / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.256e-05/0.005319, allocations: 68.98 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.863e-06/0.005326, allocations: 1.438 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001657/0.005491, allocations: 61.77 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.005524, allocations: 55.39 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.005608, allocations: 169.9 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.005626, allocations: 34.48 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.005674, allocations: 134.8 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.005682, allocations: 4.734 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.005729, allocations: 39.36 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.005831, allocations: 499 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.005892, allocations: 53.69 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.005957, allocations: 84.73 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.00603, allocations: 84.69 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006032, allocations: 0 / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001754/0.006208, allocations: 185.4 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.006238, allocations: 30.3 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006243, allocations: 0 / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.006256, allocations: 5.062 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.483e-05/0.006281, allocations: 3.984 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.006288, allocations: 0 / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.006422, allocations: 25.52 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.006437, allocations: 7.938 kB / 0.5249 GB, free: 13.59 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 8.326e-05/0.00652, allocations: 165.7 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.006533, allocations: 11.89 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.006556, allocations: 8 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.006558, allocations: 0.625 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006562, allocations: 0 / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.006565, allocations: 0.6562 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.848e-05/0.006654, allocations: 120.6 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.006655, allocations: 3.438 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/0.00666, allocations: 0 / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.006663, allocations: 3.938 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.006671, allocations: 0 / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.006672, allocations: 4.312 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006674, allocations: 0 / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.07e-05/0.006765, allocations: 84.42 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.006771, allocations: 4 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.006784, allocations: 7.938 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.006795, allocations: 6.719 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.006823, allocations: 11.92 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-06/0.006828, allocations: 0 / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.006867, allocations: 123.2 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006867, allocations: 0 / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001477/0.007015, allocations: 19.95 kB / 0.5254 GB, free: 12.97 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.000142/0.007157, allocations: 107.8 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.007335, allocations: 138.2 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.007337, allocations: 0 / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.007361, allocations: 23.61 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.007543, allocations: 10.2 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.007852, allocations: 134.1 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.007885, allocations: 55.36 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.007905, allocations: 6.75 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.007921, allocations: 8.5 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.007922, allocations: 0 / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.002949/0.01087, allocations: 1.163 MB / 0.527 GB, free: 11.33 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.875085857929662]