Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008392/0.0008392, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008731/0.0008731, allocations: 207.2 kB / 23 MB, free: 3.125 MB / 13.93 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.9058/0.9058, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.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-531:190: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-531:198: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.7587/0.7587, allocations: 203.8 MB / 0.5049 GB, free: 0.6719 MB / 410.7 MB " [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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008821/0.0008821, allocations: 71.89 kB / 0.7195 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4446, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001491/0.4461, allocations: 0.6221 MB / 0.8197 GB, free: 24.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.4472, allocations: 1.158 MB / 0.8208 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.4472, allocations: 1.312 kB / 0.8208 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.973e-05/0.4473, allocations: 5.688 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.741e-05/0.4474, allocations: 8.328 kB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.4478, allocations: 124 kB / 0.821 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.4481, allocations: 184.1 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4482, allocations: 15.02 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.4483, allocations: 81.88 kB / 0.8212 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.4484, allocations: 75.92 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.4485, allocations: 15.16 kB / 0.8213 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.863e-05/0.4485, allocations: 34.33 kB / 0.8213 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.4486, allocations: 21.14 kB / 0.8214 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.4487, allocations: 70.33 kB / 0.8214 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.4489, allocations: 192.3 kB / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4489, allocations: 0.6562 kB / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4489, allocations: 2.062 kB / 0.8216 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4489, allocations: 0 / 0.8216 GB, free: 23.7 MB / 0.6355 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.0004264/0.4494, allocations: 383.7 kB / 0.822 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4494, allocations: 11.25 kB / 0.822 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.4495, allocations: 14.45 kB / 0.822 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.4496, allocations: 166.5 kB / 0.8222 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4497, allocations: 10.12 kB / 0.8222 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.4497, allocations: 16.61 kB / 0.8222 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.4498, allocations: 97.12 kB / 0.8223 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4498, allocations: 1.719 kB / 0.8223 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4499, allocations: 6.062 kB / 0.8223 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4499, allocations: 2.25 kB / 0.8223 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.4499, allocations: 47 kB / 0.8223 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.4503, allocations: 470.9 kB / 0.8228 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.201e-05/0.4504, allocations: 51.58 kB / 0.8228 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.739e-05/0.4504, allocations: 32.98 kB / 0.8229 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.4504, allocations: 0 / 0.8229 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.4506, allocations: 114.3 kB / 0.823 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 6.01e-07/0.4506, allocations: 0.6875 kB / 0.823 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002395/0.4508, allocations: 134.2 kB / 0.8231 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4509, allocations: 80.47 kB / 0.8232 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.4509, allocations: 134.6 kB / 0.8233 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.451, allocations: 31.28 kB / 0.8233 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.451, allocations: 105 kB / 0.8234 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.451, allocations: 11.42 kB / 0.8234 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.4511, allocations: 54.75 kB / 0.8235 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.2e-05/0.4511, allocations: 322.6 kB / 0.8238 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.4513, allocations: 120.2 kB / 0.8239 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.4515, allocations: 163.2 kB / 0.8241 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.4517, allocations: 230.1 kB / 0.8243 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4517, allocations: 0 / 0.8243 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003962/0.4521, allocations: 386.3 kB / 0.8247 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.4522, allocations: 64.95 kB / 0.8247 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4522, allocations: 5.844 kB / 0.8247 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4522, allocations: 1.375 kB / 0.8247 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.845e-05/0.4522, allocations: 11.89 kB / 0.8247 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.4522, allocations: 1.781 kB / 0.8247 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.4524, allocations: 72 kB / 0.8248 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.4524, allocations: 11.44 kB / 0.8248 GB, free: 21.32 MB / 0.6355 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 7.851e-05/0.4525, allocations: 144.4 kB / 0.825 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.4525, allocations: 2.781 kB / 0.825 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.4526, allocations: 8.078 kB / 0.825 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4526, allocations: 5.5 kB / 0.825 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4526, allocations: 1.344 kB / 0.825 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4526, allocations: 4.5 kB / 0.825 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.397e-05/0.4526, allocations: 156.3 kB / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4526, allocations: 0 / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-06/0.4527, allocations: 2.688 kB / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4527, allocations: 0.875 kB / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.4527, allocations: 2.156 kB / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4527, allocations: 1.75 kB / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4527, allocations: 1.375 kB / 0.8251 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.4528, allocations: 144 kB / 0.8253 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-06/0.4528, allocations: 7.422 kB / 0.8253 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.4528, allocations: 1.969 kB / 0.8253 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.479e-05/0.4528, allocations: 6.125 kB / 0.8253 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.4529, allocations: 8.672 kB / 0.8253 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.4529, allocations: 7.734 kB / 0.8253 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.4529, allocations: 100.8 kB / 0.8254 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4529, allocations: 0 / 0.8254 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001706/0.4531, allocations: 36.55 kB / 0.8254 GB, free: 20.81 MB / 0.6355 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.0001016/0.4532, allocations: 109.8 kB / 0.8255 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.4535, allocations: 296.6 kB / 0.8258 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4535, allocations: 0 / 0.8258 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.4535, allocations: 45.36 kB / 0.8259 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.4537, allocations: 20.78 kB / 0.8259 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.454, allocations: 232.2 kB / 0.8261 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.404e-05/0.4541, allocations: 0.7042 MB / 0.8268 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.4541, allocations: 12.36 kB / 0.8268 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.4541, allocations: 0 / 0.8268 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.003103/0.4572, allocations: 1.787 MB / 0.8286 GB, free: 19.48 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.794811016879976] Failed to read output from testmodel.py, exit status != 0: 0.4626108000520617 0.47112244699999994 0.02041489 Calling exit ...