Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.001522/0.001522, allocations: 121.3 kB / 17.81 MB, free: 5.273 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.001578/0.001578, allocations: 193.4 kB / 20.74 MB, free: 2.344 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.432/1.432, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.8372/0.8372, allocations: 128.4 MB / 432.4 MB, free: 13.22 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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.89 kB / 0.5988 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3512, allocations: 83.27 MB / 0.6801 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001527/0.3528, allocations: 0.57 MB / 0.6806 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.353, allocations: 57.31 kB / 0.6807 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.353, allocations: 4 kB / 0.6807 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.828e-06/0.353, allocations: 3.938 kB / 0.6807 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.353, allocations: 0 / 0.6807 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.3532, allocations: 17.08 kB / 0.6807 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.967e-05/0.3533, allocations: 1.281 kB / 0.6807 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.3533, allocations: 1.344 kB / 0.6807 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.14e-05/0.3533, allocations: 1.625 kB / 0.6807 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.796e-05/0.3533, allocations: 0 / 0.6807 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.3533, allocations: 1.438 kB / 0.6807 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.212e-05/0.3534, allocations: 25.88 kB / 0.6807 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.3534, allocations: 4 kB / 0.6807 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.3535, allocations: 5.422 kB / 0.6807 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.078e-05/0.3535, allocations: 13.17 kB / 0.6808 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3535, allocations: 1.25 kB / 0.6808 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3535, allocations: 0 / 0.6808 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.3535, allocations: 0 / 0.6808 GB, free: 6.512 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001977/0.3537, allocations: 314.8 kB / 0.6811 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.3538, allocations: 10.09 kB / 0.6811 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.354, allocations: 22.22 kB / 0.6811 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.382e-05/0.3541, allocations: 164 kB / 0.6813 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3541, allocations: 384 / 0.6813 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3541, allocations: 5.625 kB / 0.6813 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3542, allocations: 38.22 kB / 0.6813 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3542, allocations: 192 / 0.6813 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.3542, allocations: 3.938 kB / 0.6813 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3542, allocations: 1.375 kB / 0.6813 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.3543, allocations: 13.23 kB / 0.6813 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.039e-05/0.3544, allocations: 151.1 kB / 0.6815 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.3545, allocations: 17.73 kB / 0.6815 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.3545, allocations: 11.94 kB / 0.6815 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.3545, allocations: 1.094 kB / 0.6815 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.3545, allocations: 35.75 kB / 0.6815 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.3545, allocations: 4 kB / 0.6815 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002068/0.3547, allocations: 47.98 kB / 0.6816 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.601e-05/0.3548, allocations: 56.34 kB / 0.6816 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.192e-05/0.3548, allocations: 89.86 kB / 0.6817 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.3548, allocations: 27.11 kB / 0.6817 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.794e-06/0.3548, allocations: 80.14 kB / 0.6818 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3548, allocations: 3.938 kB / 0.6818 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.3548, allocations: 16.62 kB / 0.6818 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.333e-05/0.3549, allocations: 310.8 kB / 0.6821 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.3549, allocations: 7.016 kB / 0.6821 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.355, allocations: 3.531 kB / 0.6821 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.3551, allocations: 23.5 kB / 0.6822 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3551, allocations: 0 / 0.6822 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001104/0.3552, allocations: 47.7 kB / 0.6822 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3552, allocations: 4.688 kB / 0.6822 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.3552, allocations: 0 / 0.6822 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3552, allocations: 9.453 kB / 0.6822 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.3553, allocations: 2.281 kB / 0.6822 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.3553, allocations: 0 / 0.6822 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.3553, allocations: 5.422 kB / 0.6822 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.3553, allocations: 1.406 kB / 0.6822 GB, free: 4.883 MB / 0.4981 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 (1): * Single equations (assignments): 1 * 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 3.495e-05/0.3553, allocations: 115.3 kB / 0.6823 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.3553, allocations: 4 kB / 0.6823 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.3554, allocations: 8.5 kB / 0.6823 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3554, allocations: 0 / 0.6823 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3554, allocations: 7.875 kB / 0.6824 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3554, allocations: 1.312 kB / 0.6824 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.185e-05/0.3554, allocations: 145.7 kB / 0.6825 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3554, allocations: 1.531 kB / 0.6825 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.3554, allocations: 6.141 kB / 0.6825 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3554, allocations: 4 kB / 0.6825 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3555, allocations: 5 kB / 0.6825 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3555, allocations: 0 / 0.6825 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3555, allocations: 1.438 kB / 0.6825 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.3556, allocations: 62.86 kB / 0.6826 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.3556, allocations: 81.11 kB / 0.6826 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.3556, allocations: 9.094 kB / 0.6827 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.3556, allocations: 1.219 kB / 0.6827 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.3556, allocations: 1.156 kB / 0.6827 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.3556, allocations: 0 / 0.6827 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.217e-06/0.3557, allocations: 76.44 kB / 0.6827 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.3557, allocations: 0 / 0.6827 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001727/0.3558, allocations: 1.062 kB / 0.6827 GB, free: 4.293 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.458e-05/0.3559, allocations: 107.2 kB / 0.6828 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.356, allocations: 16.39 kB / 0.6829 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3561, allocations: 0 / 0.6829 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.3561, allocations: 3.812 kB / 0.6829 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.3562, allocations: 5.219 kB / 0.6829 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.3564, allocations: 113.9 kB / 0.683 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.281e-05/0.3565, allocations: 0.6746 MB / 0.6836 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.3565, allocations: 11.44 kB / 0.6836 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.3565, allocations: 1.375 kB / 0.6836 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of Templates: time 0.001619/0.3581, allocations: 395.6 kB / 0.684 GB, free: 3.152 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.457407866138965] Failed to read output from testmodel.py, exit status != 0: 0.3652169208507985 0.376465136 0.020283011 Calling exit ...