Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.001423/0.001423, allocations: 82.48 kB / 19.18 MB, free: 2.363 MB / 14.72 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.001393/0.001393, allocations: 167.2 kB / 22.45 MB, free: 4.984 MB / 14.72 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.442/1.442, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.204/1.204, allocations: 154.7 MB / 413.9 MB, free: 5.168 MB / 382.1 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 178] 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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.6187 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.201e-05, allocations: 5.297 kB / 0.6187 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001704/0.001736, allocations: 0.6091 MB / 0.6193 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.003458, allocations: 1.136 MB / 0.6204 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.003517, allocations: 4 kB / 0.6204 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.003641, allocations: 7.922 kB / 0.6205 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.003747, allocations: 3.938 kB / 0.6205 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.004206, allocations: 126.5 kB / 0.6206 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.004491, allocations: 195.6 kB / 0.6208 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.004611, allocations: 7.984 kB / 0.6208 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.004771, allocations: 103.9 kB / 0.6209 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.004957, allocations: 79.84 kB / 0.6209 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.004996, allocations: 20 kB / 0.621 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.958e-05/0.005076, allocations: 23.98 kB / 0.621 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.005139, allocations: 27.97 kB / 0.621 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.005248, allocations: 63.88 kB / 0.6211 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.005554, allocations: 235.4 kB / 0.6213 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.005558, allocations: 0 / 0.6213 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.532e-06/0.00556, allocations: 0 / 0.6213 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.005566, allocations: 0 / 0.6213 GB, free: 1.953 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006431/0.006209, allocations: 381.4 kB / 0.6217 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.006249, allocations: 8.031 kB / 0.6217 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.006329, allocations: 20.81 kB / 0.6217 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.006594, allocations: 161.6 kB / 0.6218 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.006618, allocations: 16.36 kB / 0.6219 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.006651, allocations: 8.375 kB / 0.6219 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.006852, allocations: 103.9 kB / 0.622 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.006863, allocations: 192 / 0.622 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.006875, allocations: 384 / 0.622 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.00688, allocations: 384 / 0.622 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.006958, allocations: 47.84 kB / 0.622 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.007525, allocations: 408.6 kB / 0.6224 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.007617, allocations: 61.08 kB / 0.6225 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.007655, allocations: 29.77 kB / 0.6225 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.007668, allocations: 4 kB / 0.6225 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.007845, allocations: 117 kB / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.007846, allocations: 0 / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0003119/0.008158, allocations: 133.5 kB / 0.6227 GB, free: 328 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.008223, allocations: 77.11 kB / 0.6228 GB, free: 232 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.008348, allocations: 137.8 kB / 0.6229 GB, free: 84 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.008384, allocations: 29.7 kB / 0.623 GB, free: 48 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.008482, allocations: 104 kB / 0.6231 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.008503, allocations: 19.92 kB / 0.6231 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.00861, allocations: 53.69 kB / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.008757, allocations: 318.8 kB / 0.6234 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.009014, allocations: 187.3 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.009283, allocations: 232.4 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.009561, allocations: 232.6 kB / 0.6241 GB, free: 14.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009563, allocations: 0 / 0.6241 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000629/0.01019, allocations: 460 kB / 0.6245 GB, free: 14.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.01025, allocations: 67.39 kB / 0.6246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01026, allocations: 4 kB / 0.6246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01028, allocations: 0 / 0.6246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.366e-05/0.0103, allocations: 4 kB / 0.6246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.01031, allocations: 0 / 0.6246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.01069, allocations: 75.98 kB / 0.6246 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.01072, allocations: 8 kB / 0.6247 GB, free: 14.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001363/0.01086, allocations: 146.7 kB / 0.6248 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.01087, allocations: 7.938 kB / 0.6248 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.01091, allocations: 8 kB / 0.6248 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01091, allocations: 0 / 0.6248 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.01092, allocations: 0 / 0.6248 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01092, allocations: 0 / 0.6248 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.01107, allocations: 137.2 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01107, allocations: 0 / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.01108, allocations: 8 kB / 0.625 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01108, allocations: 0 / 0.625 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.0111, allocations: 3.984 kB / 0.625 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.0111, allocations: 4 kB / 0.625 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0111, allocations: 0 / 0.625 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.01128, allocations: 133.8 kB / 0.6251 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.0113, allocations: 11.94 kB / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.01131, allocations: 0 / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.01134, allocations: 8 kB / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.01137, allocations: 3.984 kB / 0.6251 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.01138, allocations: 8 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.949e-05/0.01145, allocations: 102.1 kB / 0.6252 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01145, allocations: 0 / 0.6252 GB, free: 13.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002467/0.01169, allocations: 35.94 kB / 0.6252 GB, free: 13.51 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001655/0.01186, allocations: 103.2 kB / 0.6253 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005027/0.01236, allocations: 366 kB / 0.6257 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01236, allocations: 3.938 kB / 0.6257 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.01242, allocations: 40.27 kB / 0.6257 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.01267, allocations: 23.92 kB / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.01312, allocations: 202 kB / 0.626 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.153e-05/0.01322, allocations: 87.08 kB / 0.626 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.946e-05/0.01325, allocations: 12.17 kB / 0.626 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.01327, allocations: 12.5 kB / 0.6261 GB, free: 12.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.01327, allocations: 0 / 0.6261 GB, free: 12.59 MB / 0.545 GB Notification: Performance of Templates: time 0.005822/0.01909, allocations: 2.472 MB / 0.6285 GB, free: 10.19 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.68754643574357] Failed to read output from testmodel.py, exit status != 0: 0.027849560603499413 0.042153034000000006 0.033704117 Calling exit ...