Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0007402/0.0007402, allocations: 84.44 kB / 20.7 MB, free: 3.867 MB / 18.57 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.000751/0.000751, allocations: 169.9 kB / 23.97 MB, free: 0.5938 MB / 18.57 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.8712/0.8712, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.5574/0.5574, allocations: 114 MB / 374.7 MB, free: 8.703 MB / 346.7 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5554 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.672e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009268/0.0009435, allocations: 0.5511 MB / 0.556 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 3.302e-05/0.0009766, allocations: 0 / 0.556 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.0009979, allocations: 0 / 0.556 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.001021, allocations: 0 / 0.556 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.148e-05/0.001043, allocations: 0 / 0.556 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 2.413e-05/0.001067, allocations: 0 / 0.556 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.001117, allocations: 11.98 kB / 0.556 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.00116, allocations: 11.92 kB / 0.556 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.609e-05/0.001187, allocations: 0 / 0.556 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 1.615e-05/0.001203, allocations: 0 / 0.556 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.001221, allocations: 0 / 0.556 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-06/0.001225, allocations: 7.938 kB / 0.556 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.001236, allocations: 0 / 0.556 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.001251, allocations: 0 / 0.556 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 4.765e-05/0.001298, allocations: 0 / 0.556 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.0013, allocations: 0 / 0.556 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.41e-07/0.001301, allocations: 0 / 0.556 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.001303, allocations: 0 / 0.556 GB, free: 1.68 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002113/0.001515, allocations: 242.4 kB / 0.5562 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.001551, allocations: 16.62 kB / 0.5562 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.001574, allocations: 0.9375 kB / 0.5562 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.815e-05/0.001642, allocations: 101.8 kB / 0.5563 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.001652, allocations: 384 / 0.5563 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.001659, allocations: 4.375 kB / 0.5563 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.207e-05/0.001721, allocations: 26.27 kB / 0.5564 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.001728, allocations: 192 / 0.5564 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.001734, allocations: 384 / 0.5564 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.001738, allocations: 4.359 kB / 0.5564 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.438e-05/0.001753, allocations: 11.88 kB / 0.5564 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.001953, allocations: 331.2 kB / 0.5567 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.574e-05/0.002009, allocations: 165.1 kB / 0.5569 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.00203, allocations: 80.14 kB / 0.5569 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.002049, allocations: 83.22 kB / 0.557 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.002078, allocations: 113.8 kB / 0.5571 GB, free: 416 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.002078, allocations: 3.938 kB / 0.5571 GB, free: 412 kB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 4.805e-05/0.002127, allocations: 33.62 kB / 0.5572 GB, free: 372 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.002164, allocations: 126.7 kB / 0.5573 GB, free: 232 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.002214, allocations: 93.86 kB / 0.5574 GB, free: 128 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.002221, allocations: 29.83 kB / 0.5574 GB, free: 92 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.367e-05/0.002245, allocations: 80.14 kB / 0.5575 GB, free: 8 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.002246, allocations: 0 / 0.5575 GB, free: 8 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.002275, allocations: 17.72 kB / 0.5575 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.002336, allocations: 310.8 kB / 0.5578 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-06/0.00234, allocations: 0 / 0.5578 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-06/0.002342, allocations: 0 / 0.5578 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.707e-05/0.002359, allocations: 75.28 kB / 0.5579 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.002375, allocations: 75.28 kB / 0.5579 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.945e-05/0.002404, allocations: 37.62 kB / 0.558 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.002429, allocations: 79.28 kB / 0.558 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.002447, allocations: 87.22 kB / 0.5581 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.356e-05/0.002491, allocations: 154.5 kB / 0.5583 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.431e-05/0.002505, allocations: 75.28 kB / 0.5583 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.041e-05/0.002536, allocations: 158.6 kB / 0.5585 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.879e-05/0.002574, allocations: 79.22 kB / 0.5586 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.00259, allocations: 79.27 kB / 0.5586 GB, free: 14.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.657e-05/0.002656, allocations: 260.4 kB / 0.5589 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.002688, allocations: 108.9 kB / 0.559 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.002717, allocations: 111.9 kB / 0.5591 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.679e-05/0.002754, allocations: 184.5 kB / 0.5593 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-05/0.002791, allocations: 192.2 kB / 0.5595 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.002826, allocations: 180.3 kB / 0.5596 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.002941, allocations: 352.8 kB / 0.56 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/0.002962, allocations: 101 kB / 0.5601 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.002988, allocations: 116.9 kB / 0.5602 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-05/0.003023, allocations: 176.3 kB / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.003062, allocations: 176.3 kB / 0.5605 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.733e-05/0.003099, allocations: 188.1 kB / 0.5607 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.471e-05/0.003134, allocations: 176.3 kB / 0.5609 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.097e-05/0.003215, allocations: 315.6 kB / 0.5612 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.00324, allocations: 105 kB / 0.5613 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.003281, allocations: 184.2 kB / 0.5614 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.003324, allocations: 108.9 kB / 0.5615 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.003365, allocations: 188.2 kB / 0.5617 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.003386, allocations: 101 kB / 0.5618 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.148e-05/0.003408, allocations: 79.28 kB / 0.5619 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.003408, allocations: 0 / 0.5619 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001462/0.003554, allocations: 3.938 kB / 0.5619 GB, free: 11.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.474e-05/0.003629, allocations: 170.5 kB / 0.5621 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 3.053e-05/0.003659, allocations: 4.094 kB / 0.5621 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.003661, allocations: 0 / 0.5621 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.003662, allocations: 3.938 kB / 0.5621 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.00388, allocations: 455.7 kB / 0.5625 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/0.004041, allocations: 189.9 kB / 0.5627 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.154e-05/0.004072, allocations: 51.36 kB / 0.5627 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-06/0.004081, allocations: 8.5 kB / 0.5627 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.004082, allocations: 4 kB / 0.5627 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.0008689/0.004951, allocations: 319.7 kB / 0.5631 GB, free: 10.01 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.586246769875288] Failed to read output from testmodel.py, exit status != 0: 0.009421133436262608 0.017238979 0.014130124 Calling exit ...