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.001333/0.001333, allocations: 84.64 kB / 19.94 MB, free: 1.777 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.001451/0.001451, allocations: 163.1 kB / 23.22 MB, free: 4.902 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.361/1.361, allocations: 177.2 MB / 203.5 MB, free: 9.152 MB / 190.1 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.9042/0.9042, allocations: 114 MB / 373.9 MB, free: 13.21 MB / 350.1 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 1.974e-06/1.974e-06, allocations: 0 / 0.5547 GB, free: 2.547 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.456e-05, allocations: 6.281 kB / 0.5547 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001679/0.001704, allocations: 0.6759 MB / 0.5554 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.002846, allocations: 0.902 MB / 0.5563 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.002883, allocations: 0 / 0.5563 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.002913, allocations: 3.938 kB / 0.5563 GB, free: 0.957 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.002978, allocations: 7.922 kB / 0.5563 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.003151, allocations: 23.91 kB / 0.5563 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.003241, allocations: 35.92 kB / 0.5564 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.003344, allocations: 11.98 kB / 0.5564 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.648e-05/0.00343, allocations: 27.91 kB / 0.5564 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.003477, allocations: 27.91 kB / 0.5564 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.003506, allocations: 4 kB / 0.5564 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.003515, allocations: 0 / 0.5564 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.003536, allocations: 15.92 kB / 0.5564 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.003561, allocations: 8 kB / 0.5564 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003665, allocations: 47.8 kB / 0.5565 GB, free: 0.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003667, allocations: 0 / 0.5565 GB, free: 0.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003668, allocations: 0 / 0.5565 GB, free: 0.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.003676, allocations: 0 / 0.5565 GB, free: 0.75 MB / 462.1 MB 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.0005112/0.004187, allocations: 282.3 kB / 0.5568 GB, free: 452 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.004221, allocations: 8.625 kB / 0.5568 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.004254, allocations: 12.89 kB / 0.5568 GB, free: 432 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.004367, allocations: 109.8 kB / 0.5569 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.004374, allocations: 384 / 0.5569 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.004388, allocations: 384 / 0.5569 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.004647, allocations: 74.2 kB / 0.557 GB, free: 216 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.004656, allocations: 192 / 0.557 GB, free: 216 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.004664, allocations: 4.312 kB / 0.557 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.004668, allocations: 4.375 kB / 0.557 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.004961, allocations: 67.86 kB / 0.557 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.005307, allocations: 208.5 kB / 0.5572 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.005519, allocations: 58.53 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.005712, allocations: 36.92 kB / 0.5573 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.005732, allocations: 7.938 kB / 0.5573 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.005762, allocations: 30.56 kB / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005763, allocations: 0 / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.000559/0.006322, allocations: 129.5 kB / 0.5575 GB, free: 15.62 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.006365, allocations: 55.41 kB / 0.5575 GB, free: 15.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.006457, allocations: 113.8 kB / 0.5576 GB, free: 15.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.006479, allocations: 25.7 kB / 0.5577 GB, free: 15.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.006536, allocations: 88.09 kB / 0.5578 GB, free: 15.31 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.006553, allocations: 7.953 kB / 0.5578 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.006594, allocations: 21.7 kB / 0.5578 GB, free: 15.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.006724, allocations: 310.8 kB / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.006871, allocations: 27.97 kB / 0.5581 GB, free: 14.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.007013, allocations: 47.83 kB / 0.5581 GB, free: 14.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.007313, allocations: 64.78 kB / 0.5582 GB, free: 14.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007314, allocations: 4 kB / 0.5582 GB, free: 14.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003307/0.007645, allocations: 97.62 kB / 0.5583 GB, free: 14.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.00766, allocations: 7.938 kB / 0.5583 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.007664, allocations: 0 / 0.5583 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.007677, allocations: 0 / 0.5583 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.007806, allocations: 19.98 kB / 0.5583 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.007812, allocations: 3.984 kB / 0.5583 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.182e-05/0.007894, allocations: 15.94 kB / 0.5584 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.0079, allocations: 0 / 0.5584 GB, free: 14.67 MB / 478.1 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 (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 8.552e-05/0.007986, allocations: 113.7 kB / 0.5585 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.008011, allocations: 8 kB / 0.5585 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.008039, allocations: 12.27 kB / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.00804, allocations: 0 / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.008043, allocations: 0 / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.008047, allocations: 7.984 kB / 0.5585 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.008213, allocations: 105.3 kB / 0.5586 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.008213, allocations: 0 / 0.5586 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.008312, allocations: 23.97 kB / 0.5586 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008314, allocations: 0 / 0.5586 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.008326, allocations: 4 kB / 0.5586 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.008329, allocations: 7.938 kB / 0.5586 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00833, allocations: 4 kB / 0.5586 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.008725, allocations: 187.4 kB / 0.5588 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.008736, allocations: 7.984 kB / 0.5588 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.008749, allocations: 3.938 kB / 0.5588 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.008861, allocations: 11.92 kB / 0.5588 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.008912, allocations: 15.98 kB / 0.5588 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.008916, allocations: 0 / 0.5588 GB, free: 14.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.257e-05/0.008968, allocations: 87.28 kB / 0.5589 GB, free: 14.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008968, allocations: 0 / 0.5589 GB, free: 14.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.009184, allocations: 7.938 kB / 0.5589 GB, free: 14.02 MB / 478.1 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 (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 0.000119/0.009303, allocations: 95.25 kB / 0.559 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.009652, allocations: 75.91 kB / 0.5591 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009654, allocations: 3.938 kB / 0.5591 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.009814, allocations: 39.84 kB / 0.5591 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.01006, allocations: 5.562 kB / 0.5591 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.01036, allocations: 132.7 kB / 0.5593 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.715e-05/0.01041, allocations: 63.34 kB / 0.5593 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.236e-05/0.01044, allocations: 4 kB / 0.5593 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.01047, allocations: 12.5 kB / 0.5593 GB, free: 13.54 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01047, allocations: 0 / 0.5593 GB, free: 13.54 MB / 478.1 MB Notification: Performance of Templates: time 0.00317/0.01364, allocations: 0.7834 MB / 0.5601 GB, free: 12.78 MB / 478.1 MB " [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: 5.020797085016966] Failed to read output from testmodel.py, exit status != 0: 0.02194185182452202 0.036278325 0.029630296 Calling exit ...