Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00131/0.00131, allocations: 109.5 kB / 17.12 MB, free: 5.926 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.001444/0.001444, allocations: 205 kB / 20.09 MB, free: 2.977 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.11/1.11, allocations: 150 MB / 459.5 MB, free: 5.234 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: IBPSA 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.002135/0.002135, allocations: 66.73 kB / 0.6366 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2061, allocations: 89.13 MB / 0.7236 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001938/0.208, allocations: 0.6112 MB / 0.7242 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.2097, allocations: 1.149 MB / 0.7253 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.2098, allocations: 0 / 0.7253 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2099, allocations: 3.938 kB / 0.7253 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.073e-05/0.2099, allocations: 7.938 kB / 0.7253 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.2105, allocations: 126 kB / 0.7255 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.2107, allocations: 95.81 kB / 0.7256 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.2108, allocations: 7.922 kB / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.2109, allocations: 27.98 kB / 0.7256 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.211, allocations: 43.88 kB / 0.7256 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.2111, allocations: 8 kB / 0.7256 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.2111, allocations: 15.98 kB / 0.7257 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.675e-05/0.2112, allocations: 8 kB / 0.7257 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.2113, allocations: 39.84 kB / 0.7257 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.2115, allocations: 87.66 kB / 0.7258 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2115, allocations: 4 kB / 0.7258 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2115, allocations: 0 / 0.7258 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2115, allocations: 0 / 0.7258 GB, free: 1.289 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006489/0.2122, allocations: 385 kB / 0.7262 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2122, allocations: 8.031 kB / 0.7262 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.2123, allocations: 12.88 kB / 0.7262 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.2125, allocations: 176.4 kB / 0.7263 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2125, allocations: 4.375 kB / 0.7263 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.2125, allocations: 8.375 kB / 0.7264 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.2127, allocations: 50.23 kB / 0.7264 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2127, allocations: 192 / 0.7264 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2127, allocations: 7.938 kB / 0.7264 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2127, allocations: 0 / 0.7264 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.821e-05/0.2128, allocations: 11.94 kB / 0.7264 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.2132, allocations: 300.8 kB / 0.7267 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.2133, allocations: 22.56 kB / 0.7267 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.2133, allocations: 16.92 kB / 0.7267 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.2133, allocations: 3.938 kB / 0.7268 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.2135, allocations: 63.38 kB / 0.7268 GB, free: 68 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.2135, allocations: 0 / 0.7268 GB, free: 68 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000251/0.2137, allocations: 61.67 kB / 0.7269 GB, free: 0 / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.2138, allocations: 55.53 kB / 0.7269 GB, free: 15.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.214, allocations: 117.7 kB / 0.727 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.214, allocations: 29.7 kB / 0.7271 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.2141, allocations: 88.14 kB / 0.7271 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.2141, allocations: 7.953 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.2141, allocations: 29.7 kB / 0.7272 GB, free: 15.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2143, allocations: 318.8 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.2144, allocations: 31.98 kB / 0.7275 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.2145, allocations: 42.56 kB / 0.7276 GB, free: 15.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.2146, allocations: 88.2 kB / 0.7276 GB, free: 15.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2146, allocations: 0 / 0.7276 GB, free: 15.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002868/0.2149, allocations: 143.3 kB / 0.7278 GB, free: 14.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.215, allocations: 37.69 kB / 0.7278 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.215, allocations: 0 / 0.7278 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.215, allocations: 0 / 0.7278 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.366e-05/0.215, allocations: 4 kB / 0.7278 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.215, allocations: 4.094 kB / 0.7278 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.2152, allocations: 31.86 kB / 0.7279 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.2153, allocations: 11.98 kB / 0.7279 GB, free: 14.89 MB / 0.545 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.0001221/0.2154, allocations: 121.7 kB / 0.728 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.2154, allocations: 0 / 0.728 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.2154, allocations: 7.906 kB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2154, allocations: 4 kB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2154, allocations: 4 kB / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2154, allocations: 0 / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.2156, allocations: 165.6 kB / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2156, allocations: 0 / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-06/0.2156, allocations: 0 / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2156, allocations: 0 / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2156, allocations: 0 / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2156, allocations: 3.938 kB / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2156, allocations: 4.312 kB / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.2158, allocations: 89 kB / 0.7282 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.2158, allocations: 77.11 kB / 0.7283 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2158, allocations: 4 kB / 0.7283 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.2158, allocations: 4 kB / 0.7283 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.2159, allocations: 4 kB / 0.7283 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2159, allocations: 7.922 kB / 0.7283 GB, free: 14.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.2159, allocations: 79.28 kB / 0.7284 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2159, allocations: 4 kB / 0.7284 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002018/0.2161, allocations: 12 kB / 0.7284 GB, free: 14.2 MB / 0.545 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.0001805/0.2163, allocations: 111.2 kB / 0.7285 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.2166, allocations: 111.2 kB / 0.7286 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2166, allocations: 0 / 0.7286 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.2166, allocations: 8 kB / 0.7286 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.2168, allocations: 9.703 kB / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.2171, allocations: 138.3 kB / 0.7288 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2175, allocations: 0.6846 MB / 0.7295 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.609e-05/0.2175, allocations: 0 / 0.7295 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.2175, allocations: 11.44 kB / 0.7295 GB, free: 13.07 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.2175, allocations: 0 / 0.7295 GB, free: 13.07 MB / 0.545 GB Notification: Performance of Templates: time 0.003951/0.2215, allocations: 1.046 MB / 0.7305 GB, free: 12.04 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.205346711911261] Failed to read output from testmodel.py, exit status != 0: 0.2294426178559661 0.24252936799999994 0.028297075 Calling exit ...