Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.00193/0.00193, allocations: 119 kB / 19.69 MB, free: 2.199 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.002888/0.002888, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.671/1.671, allocations: 230.6 MB / 256.8 MB, free: 7.953 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 0.9842/0.9842, allocations: 150 MB / 463.1 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 178] 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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") [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.002103/0.002103, allocations: 66.95 kB / 0.6417 GB, free: 9.844 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2416, allocations: 89.18 MB / 0.7288 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.003923/0.2455, allocations: 1.159 MB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003592/0.2491, allocations: 2.212 MB / 0.7321 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.2492, allocations: 4 kB / 0.7321 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.775e-05/0.2493, allocations: 23.67 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.2495, allocations: 95.2 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004372/0.2539, allocations: 1.397 MB / 0.7336 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.2559, allocations: 1.197 MB / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.2559, allocations: 24.92 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.2567, allocations: 483.3 kB / 0.7353 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006879/0.2573, allocations: 438.9 kB / 0.7357 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.2575, allocations: 104 kB / 0.7358 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.2578, allocations: 124 kB / 0.7359 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.2578, allocations: 55.77 kB / 0.7359 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.2583, allocations: 395 kB / 0.7363 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.2594, allocations: 0.9738 MB / 0.7373 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2594, allocations: 4 kB / 0.7373 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2594, allocations: 0 / 0.7373 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.2594, allocations: 0 / 0.7373 GB, free: 8.113 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00159/0.261, allocations: 1.1 MB / 0.7384 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2611, allocations: 12.03 kB / 0.7384 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.2613, allocations: 68.73 kB / 0.7384 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.2615, allocations: 162.7 kB / 0.7386 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.2615, allocations: 32.38 kB / 0.7386 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.2617, allocations: 68.34 kB / 0.7387 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.262, allocations: 225.5 kB / 0.7389 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.262, allocations: 4.188 kB / 0.7389 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.2621, allocations: 15.92 kB / 0.7389 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2621, allocations: 0 / 0.7389 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2622, allocations: 71.72 kB / 0.739 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009849/0.2632, allocations: 0.8124 MB / 0.7398 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.2636, allocations: 327.1 kB / 0.7401 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.2638, allocations: 133 kB / 0.7402 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2638, allocations: 11.92 kB / 0.7402 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007687/0.2646, allocations: 458.8 kB / 0.7407 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 1.753e-06/0.2646, allocations: 0 / 0.7407 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001119/0.2657, allocations: 0.5692 MB / 0.7412 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000287/0.266, allocations: 443.1 kB / 0.7416 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.2663, allocations: 292.4 kB / 0.7419 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.2665, allocations: 65.7 kB / 0.742 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.2667, allocations: 169.3 kB / 0.7421 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.2668, allocations: 99.3 kB / 0.7422 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004673/0.2672, allocations: 270 kB / 0.7425 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.2674, allocations: 358.8 kB / 0.7428 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008655/0.2683, allocations: 417.2 kB / 0.7432 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.2694, allocations: 0.6987 MB / 0.7439 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.2708, allocations: 1.199 MB / 0.7451 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.2708, allocations: 4 kB / 0.7451 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002869/0.2737, allocations: 1.752 MB / 0.7468 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003672/0.2741, allocations: 485.4 kB / 0.7473 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.2741, allocations: 12 kB / 0.7473 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.2741, allocations: 16.12 kB / 0.7473 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.2742, allocations: 27.86 kB / 0.7473 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/0.2742, allocations: 23.92 kB / 0.7473 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.2763, allocations: 403.2 kB / 0.7477 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.2765, allocations: 95.92 kB / 0.7478 GB, free: 12.07 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003617/0.2768, allocations: 227.5 kB / 0.748 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.2769, allocations: 51.69 kB / 0.7481 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.299e-05/0.277, allocations: 38.23 kB / 0.7481 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.277, allocations: 8 kB / 0.7481 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.277, allocations: 4 kB / 0.7481 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.277, allocations: 7.984 kB / 0.7481 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.2774, allocations: 304.5 kB / 0.7484 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2774, allocations: 8 kB / 0.7484 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.2775, allocations: 19.92 kB / 0.7485 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.2775, allocations: 11.94 kB / 0.7485 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.2775, allocations: 15.98 kB / 0.7485 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.2775, allocations: 8 kB / 0.7485 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.2775, allocations: 7.938 kB / 0.7485 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.2782, allocations: 0.5199 MB / 0.749 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.2783, allocations: 47.58 kB / 0.7491 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.2783, allocations: 15.98 kB / 0.7491 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.2784, allocations: 19.94 kB / 0.7491 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.2785, allocations: 59.8 kB / 0.7491 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.2786, allocations: 31.98 kB / 0.7492 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001835/0.2788, allocations: 191.1 kB / 0.7494 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2788, allocations: 0 / 0.7494 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006512/0.2794, allocations: 200 kB / 0.7496 GB, free: 10.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002178/0.2796, allocations: 127.1 kB / 0.7497 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.2816, allocations: 1.57 MB / 0.7512 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.2816, allocations: 0 / 0.7512 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.2819, allocations: 152.3 kB / 0.7514 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.2826, allocations: 135.5 kB / 0.7515 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2837, allocations: 0.6346 MB / 0.7521 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.2841, allocations: 0.7762 MB / 0.7529 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.2842, allocations: 42.97 kB / 0.7529 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.2842, allocations: 39.42 kB / 0.7529 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.2842, allocations: 0 / 0.7529 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of Templates: time 0.4456/0.7299, allocations: 12.12 MB / 0.7648 GB, free: 32.78 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.034911125898361] Failed to read output from testmodel.py, exit status != 0: 0.7381584853865206 0.751630871 0.48941647 Calling exit ...