Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.0007642/0.0007642, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0008386/0.0008386, allocations: 165.9 kB / 23.97 MB, free: 0.6016 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.8629/0.8629, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.619/0.619, allocations: 114 MB / 374.7 MB, free: 8.723 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.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.5555 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.834e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001258/0.001287, allocations: 0.697 MB / 0.5562 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008552/0.002142, allocations: 0.8782 MB / 0.557 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.002178, allocations: 0 / 0.557 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.00221, allocations: 7.922 kB / 0.557 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.00228, allocations: 19.86 kB / 0.557 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.00244, allocations: 11.98 kB / 0.5571 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.002516, allocations: 47.86 kB / 0.5571 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.002605, allocations: 3.984 kB / 0.5571 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.002677, allocations: 23.98 kB / 0.5571 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.083e-05/0.002718, allocations: 23.91 kB / 0.5572 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.002741, allocations: 4 kB / 0.5572 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.002749, allocations: 4 kB / 0.5572 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.002766, allocations: 7.984 kB / 0.5572 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.002787, allocations: 11.94 kB / 0.5572 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.574e-05/0.002873, allocations: 51.8 kB / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.002875, allocations: 0 / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002876, allocations: 0 / 0.5572 GB, free: 452 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.002881, allocations: 0 / 0.5572 GB, free: 452 kB / 0.5105 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.0003757/0.003256, allocations: 278.3 kB / 0.5575 GB, free: 140 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.003293, allocations: 8.625 kB / 0.5575 GB, free: 132 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.003322, allocations: 8.891 kB / 0.5575 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.00342, allocations: 121.7 kB / 0.5576 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.00343, allocations: 4.375 kB / 0.5576 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.003441, allocations: 8.375 kB / 0.5576 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.003604, allocations: 66.22 kB / 0.5577 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.003611, allocations: 192 / 0.5577 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.00362, allocations: 384 / 0.5577 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003625, allocations: 4.312 kB / 0.5577 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.003762, allocations: 71.8 kB / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.004039, allocations: 212.6 kB / 0.558 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.004152, allocations: 50.53 kB / 0.558 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.004227, allocations: 32.92 kB / 0.5581 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.004245, allocations: 4 kB / 0.5581 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.004268, allocations: 42.48 kB / 0.5581 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.004269, allocations: 0 / 0.5581 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002963/0.004565, allocations: 129.5 kB / 0.5582 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.004594, allocations: 51.41 kB / 0.5583 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.004655, allocations: 113.8 kB / 0.5584 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.004664, allocations: 25.7 kB / 0.5584 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.004704, allocations: 96.08 kB / 0.5585 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.004722, allocations: 3.953 kB / 0.5585 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.004749, allocations: 25.72 kB / 0.5585 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.004825, allocations: 310.8 kB / 0.5588 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.004892, allocations: 31.95 kB / 0.5589 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.004954, allocations: 31.97 kB / 0.5589 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.005082, allocations: 76.72 kB / 0.559 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005084, allocations: 0 / 0.559 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001589/0.005242, allocations: 97.58 kB / 0.5591 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.005255, allocations: 7.938 kB / 0.5591 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.00526, allocations: 0 / 0.5591 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.00527, allocations: 0 / 0.5591 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.005349, allocations: 19.97 kB / 0.5591 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.005353, allocations: 4 kB / 0.5591 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.005387, allocations: 11.98 kB / 0.5591 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.005393, allocations: 0 / 0.5591 GB, free: 14.36 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 (3): * Single equations (assignments): 3 * 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 5.217e-05/0.005445, allocations: 113.8 kB / 0.5592 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.005458, allocations: 0 / 0.5592 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.005485, allocations: 19.86 kB / 0.5592 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005487, allocations: 336 / 0.5592 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.005492, allocations: 4 kB / 0.5592 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005494, allocations: 0 / 0.5592 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.982e-05/0.005584, allocations: 109.3 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.005587, allocations: 11.98 kB / 0.5593 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.005626, allocations: 15.92 kB / 0.5594 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005627, allocations: 0 / 0.5594 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.005633, allocations: 0 / 0.5594 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.005635, allocations: 7.938 kB / 0.5594 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005636, allocations: 0 / 0.5594 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.005824, allocations: 199.4 kB / 0.5596 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.005831, allocations: 4 kB / 0.5596 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.005841, allocations: 0 / 0.5596 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.005889, allocations: 15.92 kB / 0.5596 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.005926, allocations: 3.984 kB / 0.5596 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.005929, allocations: 0 / 0.5596 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.005961, allocations: 91.22 kB / 0.5597 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005961, allocations: 0 / 0.5597 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001414/0.006103, allocations: 8 kB / 0.5597 GB, free: 13.7 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 (3): * Single equations (assignments): 3 * 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 8.354e-05/0.006186, allocations: 107.2 kB / 0.5598 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.006357, allocations: 63.92 kB / 0.5598 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.006359, allocations: 3.938 kB / 0.5598 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.773e-05/0.006426, allocations: 31.97 kB / 0.5599 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.006637, allocations: 12.53 kB / 0.5599 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.007111, allocations: 146.6 kB / 0.56 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.007155, allocations: 71.23 kB / 0.5601 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.007188, allocations: 12.5 kB / 0.5601 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.007189, allocations: 0 / 0.5601 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.001467/0.008655, allocations: 0.77 MB / 0.5609 GB, free: 12.44 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.71581313945353] Failed to read output from testmodel.py, exit status != 0: 0.013853623531758785 0.021984300000000002 0.017501111 Calling exit ...