Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 121.7 kB / 17.81 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 187.8 kB / 20.74 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7917/0.7917, allocations: 128.4 MB / 432.4 MB, free: 13.44 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.84 kB / 0.5987 GB, free: 0 / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3609, allocations: 83.26 MB / 0.68 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001993/0.3629, allocations: 1.468 MB / 0.6814 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005306/0.3634, allocations: 458 kB / 0.6819 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.3635, allocations: 0 / 0.6819 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.3635, allocations: 5.25 kB / 0.6819 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.3636, allocations: 11.92 kB / 0.6819 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.3637, allocations: 20.86 kB / 0.6819 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.182e-05/0.3638, allocations: 47.5 kB / 0.6819 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.3639, allocations: 12.61 kB / 0.682 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.3639, allocations: 23.98 kB / 0.682 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.364, allocations: 21.77 kB / 0.682 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.364, allocations: 3.594 kB / 0.682 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.364, allocations: 4.406 kB / 0.682 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.364, allocations: 13.89 kB / 0.682 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.364, allocations: 22.14 kB / 0.682 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.53e-05/0.3641, allocations: 47.09 kB / 0.6821 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3641, allocations: 0 / 0.6821 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3641, allocations: 0 / 0.6821 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3641, allocations: 1.344 kB / 0.6821 GB, free: 5.375 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003912/0.3645, allocations: 360.1 kB / 0.6824 GB, free: 5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3646, allocations: 9.438 kB / 0.6824 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.3646, allocations: 7.766 kB / 0.6824 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.851e-05/0.3647, allocations: 175.2 kB / 0.6826 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3647, allocations: 10.58 kB / 0.6826 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.3647, allocations: 4.25 kB / 0.6826 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.483e-05/0.3648, allocations: 56 kB / 0.6827 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3648, allocations: 0 / 0.6827 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3648, allocations: 9.266 kB / 0.6827 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3648, allocations: 1.438 kB / 0.6827 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.3649, allocations: 25.92 kB / 0.6827 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.3652, allocations: 313 kB / 0.683 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.08e-05/0.3653, allocations: 47.25 kB / 0.6831 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.3654, allocations: 27.09 kB / 0.6831 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.3654, allocations: 3.938 kB / 0.6831 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.3655, allocations: 72.72 kB / 0.6832 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.3655, allocations: 0 / 0.6832 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.00019/0.3657, allocations: 105.1 kB / 0.6833 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.3657, allocations: 57.56 kB / 0.6833 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.3658, allocations: 104.7 kB / 0.6834 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.3658, allocations: 30.86 kB / 0.6834 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.3658, allocations: 82.45 kB / 0.6835 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.3658, allocations: 22.38 kB / 0.6835 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.3658, allocations: 27.09 kB / 0.6836 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.3659, allocations: 324 kB / 0.6839 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.3659, allocations: 18.28 kB / 0.6839 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.366, allocations: 47.98 kB / 0.6839 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.366, allocations: 66.64 kB / 0.684 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.366, allocations: 1.125 kB / 0.684 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001164/0.3661, allocations: 94.53 kB / 0.6841 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3662, allocations: 9.5 kB / 0.6841 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3662, allocations: 1.281 kB / 0.6841 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3662, allocations: 1.375 kB / 0.6841 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.3662, allocations: 8.031 kB / 0.6841 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3662, allocations: 1.375 kB / 0.6841 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.3663, allocations: 20.8 kB / 0.6841 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3663, allocations: 3.781 kB / 0.6841 GB, free: 3.348 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.199e-05/0.3664, allocations: 126.4 kB / 0.6843 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.3664, allocations: 10.67 kB / 0.6843 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.3664, allocations: 8.344 kB / 0.6843 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3664, allocations: 1.375 kB / 0.6843 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3664, allocations: 3.984 kB / 0.6843 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3664, allocations: 1.406 kB / 0.6843 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.3667, allocations: 363.5 kB / 0.6846 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3667, allocations: 0 / 0.6846 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.3667, allocations: 7.125 kB / 0.6846 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3667, allocations: 1.094 kB / 0.6846 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.3667, allocations: 13.44 kB / 0.6846 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3667, allocations: 7.875 kB / 0.6847 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3667, allocations: 0 / 0.6847 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.3668, allocations: 172.5 kB / 0.6848 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.3669, allocations: 86.34 kB / 0.6849 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3669, allocations: 5.344 kB / 0.6849 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.367, allocations: 11.83 kB / 0.6849 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.367, allocations: 11.77 kB / 0.6849 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.367, allocations: 5.312 kB / 0.6849 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.107e-05/0.367, allocations: 79.25 kB / 0.685 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.367, allocations: 1.375 kB / 0.685 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002266/0.3672, allocations: 15.06 kB / 0.685 GB, free: 2.469 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 6.198e-05/0.3673, allocations: 97.45 kB / 0.6851 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.3674, allocations: 50.55 kB / 0.6852 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3674, allocations: 1.25 kB / 0.6852 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.3675, allocations: 30.14 kB / 0.6852 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3677, allocations: 13.47 kB / 0.6852 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.368, allocations: 189.8 kB / 0.6854 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.771e-05/0.3681, allocations: 0.6835 MB / 0.6861 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.3682, allocations: 11.78 kB / 0.6861 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.3682, allocations: 0 / 0.6861 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of Templates: time 0.00197/0.3701, allocations: 0.8702 MB / 0.6869 GB, free: 1.012 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.15590667584911] Failed to read output from testmodel.py, exit status != 0: 0.37705575698055327 0.38881888 0.022186411000000003 Calling exit ...