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.0009352/0.0009352, allocations: 96.2 kB / 20.43 MB, free: 4.133 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.0009872/0.0009872, allocations: 165 kB / 23.8 MB, free: 0.7656 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.9989/0.9989, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.6009/0.6009, allocations: 114.9 MB / 375.7 MB, free: 7.652 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 3.256e-06/3.256e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.176e-05, allocations: 4.984 kB / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001445/0.001477, allocations: 0.546 MB / 482.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 5.903e-05/0.001536, allocations: 9.969 kB / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.001561, allocations: 0 / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.00159, allocations: 0 / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.899e-05/0.001619, allocations: 0 / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.473e-05/0.001654, allocations: 0 / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.294e-05/0.001717, allocations: 0.6562 kB / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.001768, allocations: 6.906 kB / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.001799, allocations: 1.062 kB / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.08e-05/0.001819, allocations: 0 / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.001834, allocations: 0 / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.499e-06/0.001839, allocations: 1.812 kB / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.001853, allocations: 7.922 kB / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.001874, allocations: 3.125 kB / 482.1 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.218e-05/0.001936, allocations: 4.719 kB / 482.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.001938, allocations: 0 / 482.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.001939, allocations: 0.6562 kB / 482.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.001943, allocations: 0 / 482.1 MB, free: 11.53 MB / 410.7 MB 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.0002166/0.00216, allocations: 348.1 kB / 482.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.002199, allocations: 6.969 kB / 482.5 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.002232, allocations: 1.281 kB / 482.5 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.572e-05/0.002298, allocations: 114 kB / 482.6 MB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.002308, allocations: 3.594 kB / 482.6 MB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.002319, allocations: 384 / 482.6 MB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.669e-05/0.002386, allocations: 34.45 kB / 482.6 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.002394, allocations: 192 / 482.6 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.002402, allocations: 1.312 kB / 482.6 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.002409, allocations: 384 / 482.6 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.069e-05/0.00242, allocations: 5.062 kB / 482.6 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.00284, allocations: 469.9 kB / 483.1 MB, free: 26.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.002927, allocations: 271.8 kB / 483.3 MB, free: 26.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.002962, allocations: 128.9 kB / 483.5 MB, free: 26.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.00299, allocations: 119.8 kB / 483.6 MB, free: 25.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.003029, allocations: 157.7 kB / 483.7 MB, free: 25.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.003029, allocations: 0 / 483.7 MB, free: 25.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 5.329e-05/0.003083, allocations: 34.2 kB / 483.8 MB, free: 25.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.003128, allocations: 172.7 kB / 483.9 MB, free: 25.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.844e-05/0.003206, allocations: 153.4 kB / 484.1 MB, free: 25.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-06/0.003211, allocations: 27.7 kB / 484.1 MB, free: 25.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.003248, allocations: 130.9 kB / 484.2 MB, free: 25.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.00325, allocations: 0 / 484.2 MB, free: 25.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.003267, allocations: 16.31 kB / 484.3 MB, free: 25.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.003377, allocations: 0.4915 MB / 484.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-06/0.003381, allocations: 0 / 484.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.003386, allocations: 0.6875 kB / 484.7 MB, free: 24.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.003415, allocations: 119.2 kB / 484.9 MB, free: 24.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-05/0.003441, allocations: 120.6 kB / 485 MB, free: 24.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.601e-05/0.003477, allocations: 31.86 kB / 485 MB, free: 24.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.003517, allocations: 124 kB / 485.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/0.003547, allocations: 124.1 kB / 485.3 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.232e-05/0.003629, allocations: 246.8 kB / 485.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-05/0.003662, allocations: 127.2 kB / 485.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.896e-05/0.003721, allocations: 244.2 kB / 485.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.003776, allocations: 125.1 kB / 486 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.003803, allocations: 121.6 kB / 486.1 MB, free: 23.41 MB / 426.7 MB 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 0.0001142/0.003917, allocations: 391 kB / 486.5 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.003964, allocations: 156.9 kB / 486.6 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.004021, allocations: 159.8 kB / 486.8 MB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.426e-05/0.004086, allocations: 264.1 kB / 487 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-05/0.004157, allocations: 274.5 kB / 487.3 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.254e-05/0.004219, allocations: 268.2 kB / 487.6 MB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.004376, allocations: 499.3 kB / 488.1 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-05/0.004409, allocations: 150.7 kB / 488.2 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.00444, allocations: 149.2 kB / 488.4 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.89e-05/0.004499, allocations: 269.4 kB / 488.6 MB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.004569, allocations: 268.9 kB / 488.9 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.794e-05/0.004626, allocations: 272 kB / 489.1 MB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-05/0.004687, allocations: 267.7 kB / 489.4 MB, free: 19.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.004821, allocations: 446.7 kB / 489.8 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.004859, allocations: 148.8 kB / 490 MB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.004922, allocations: 269.6 kB / 490.3 MB, free: 19.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.004974, allocations: 153 kB / 490.4 MB, free: 18.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.005041, allocations: 268.1 kB / 490.7 MB, free: 18.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.005075, allocations: 153.9 kB / 490.8 MB, free: 18.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.385e-05/0.005119, allocations: 124.2 kB / 490.9 MB, free: 18.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005119, allocations: 0 / 490.9 MB, free: 18.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.005277, allocations: 0 / 490.9 MB, free: 18.42 MB / 426.7 MB 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 0.0001189/0.005396, allocations: 213.1 kB / 491.1 MB, free: 18.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.712e-05/0.005443, allocations: 3.938 kB / 491.1 MB, free: 18.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.005446, allocations: 4.781 kB / 491.2 MB, free: 18.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.005447, allocations: 0 / 491.2 MB, free: 18.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.005766, allocations: 0.7022 MB / 491.9 MB, free: 17.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.005993, allocations: 217.9 kB / 492.1 MB, free: 17.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.612e-05/0.006019, allocations: 52.2 kB / 492.1 MB, free: 17.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.154e-06/0.006021, allocations: 0 / 492.1 MB, free: 17.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.154e-05/0.006032, allocations: 11.06 kB / 492.1 MB, free: 17.2 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.006033, allocations: 0 / 492.1 MB, free: 17.2 MB / 426.7 MB Notification: Performance of Templates: time 0.001615/0.007648, allocations: 171.7 kB / 492.3 MB, free: 17.16 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.686983474995941]