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.0007694/0.0007694, allocations: 100.4 kB / 19.7 MB, free: 452 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.000792/0.000792, allocations: 212.6 kB / 23 MB, free: 2.98 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.8949/0.8949, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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-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 0.7259/0.7259, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [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: 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.0008465/0.0008465, allocations: 64.72 kB / 0.719 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4468, allocations: 102 MB / 0.8186 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001292/0.4481, allocations: 0.6087 MB / 0.8192 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.449, allocations: 1.147 MB / 0.8203 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.449, allocations: 1.875 kB / 0.8203 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.4491, allocations: 4.594 kB / 0.8203 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.191e-05/0.4491, allocations: 3.531 kB / 0.8203 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.4495, allocations: 124 kB / 0.8204 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.4496, allocations: 92.03 kB / 0.8205 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.4497, allocations: 9.125 kB / 0.8205 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.4498, allocations: 33.55 kB / 0.8206 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.04e-05/0.4498, allocations: 31.88 kB / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.4499, allocations: 6.781 kB / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.277e-05/0.4499, allocations: 17.16 kB / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.45, allocations: 14.08 kB / 0.8206 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.45, allocations: 30.23 kB / 0.8207 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.4502, allocations: 91.11 kB / 0.8207 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4502, allocations: 0 / 0.8207 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4502, allocations: 0 / 0.8207 GB, free: 128 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4502, allocations: 4 kB / 0.8208 GB, free: 124 kB / 0.6042 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.0003663/0.4505, allocations: 302.3 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.4506, allocations: 12.06 kB / 0.8211 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.4506, allocations: 8.391 kB / 0.8211 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.4508, allocations: 126.2 kB / 0.8212 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4508, allocations: 3.281 kB / 0.8212 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.4508, allocations: 6.688 kB / 0.8212 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.124e-05/0.4509, allocations: 44.44 kB / 0.8212 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4509, allocations: 192 / 0.8212 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4509, allocations: 7.938 kB / 0.8212 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4509, allocations: 0 / 0.8212 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.4509, allocations: 15.75 kB / 0.8213 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.4512, allocations: 239.4 kB / 0.8215 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.492e-05/0.4512, allocations: 22.06 kB / 0.8215 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.4512, allocations: 11.8 kB / 0.8215 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.4513, allocations: 0 / 0.8215 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.4514, allocations: 60.98 kB / 0.8216 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.4514, allocations: 0 / 0.8216 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001662/0.4515, allocations: 71.02 kB / 0.8216 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4516, allocations: 56.11 kB / 0.8217 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.4516, allocations: 105.6 kB / 0.8218 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4517, allocations: 35.7 kB / 0.8218 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.4517, allocations: 89.05 kB / 0.8219 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.4517, allocations: 7.734 kB / 0.8219 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.4517, allocations: 30.36 kB / 0.822 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.4518, allocations: 312.4 kB / 0.8222 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.4519, allocations: 58.83 kB / 0.8223 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.4519, allocations: 82.42 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.073e-05/0.452, allocations: 84.02 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.452, allocations: 3.812 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001682/0.4522, allocations: 176.7 kB / 0.8226 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.4522, allocations: 39.11 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4522, allocations: 0.7031 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4522, allocations: 1.125 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-05/0.4523, allocations: 2.406 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4523, allocations: 5.5 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.4524, allocations: 27.61 kB / 0.8227 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.4524, allocations: 11.05 kB / 0.8227 GB, free: 14.27 MB / 0.6198 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.297e-05/0.4525, allocations: 125.1 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-06/0.4525, allocations: 1.406 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.4525, allocations: 7.359 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4525, allocations: 0 / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4525, allocations: 0 / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4525, allocations: 0.6094 kB / 0.8228 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.232e-05/0.4526, allocations: 117.9 kB / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4526, allocations: 0 / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-06/0.4526, allocations: 0.75 kB / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4526, allocations: 0 / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4526, allocations: 9.25 kB / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4526, allocations: 0.75 kB / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4526, allocations: 0 / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.903e-05/0.4526, allocations: 92.31 kB / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.4527, allocations: 2.281 kB / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.4527, allocations: 0 / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.4527, allocations: 3.938 kB / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.4527, allocations: 5.234 kB / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.4527, allocations: 0 / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.4527, allocations: 85.55 kB / 0.8232 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4527, allocations: 0 / 0.8232 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001358/0.4529, allocations: 18.84 kB / 0.8232 GB, free: 13.83 MB / 0.6198 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 8.953e-05/0.4529, allocations: 102.9 kB / 0.8233 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.4531, allocations: 140.5 kB / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4531, allocations: 0 / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.1e-05/0.4531, allocations: 12.59 kB / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.4533, allocations: 14.41 kB / 0.8234 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.4535, allocations: 154.6 kB / 0.8236 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.4536, allocations: 69.12 kB / 0.8236 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.4536, allocations: 8.234 kB / 0.8236 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.4536, allocations: 3.562 kB / 0.8237 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.001785/0.4554, allocations: 0.927 MB / 0.8246 GB, free: 13.29 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5666947942227125] Failed to read output from testmodel.py, exit status != 0: 0.4601584570482373 0.46936577500000004 0.017402536 Calling exit ...