Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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.001578/0.001578, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001895/0.001895, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002569/0.002569, allocations: 291.8 kB / 313.5 MB, free: 2.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.15/1.15, allocations: 180.6 MB / 0.5377 GB, free: 13.04 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00312/0.00312, allocations: 102.1 kB / 0.7409 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1617, allocations: 95.38 MB / 0.834 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001858/0.1635, allocations: 0.5947 MB / 0.8346 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002737/0.1638, allocations: 60.19 kB / 0.8346 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.1638, allocations: 0 / 0.8346 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.1638, allocations: 0 / 0.8346 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.1638, allocations: 0 / 0.8346 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1641, allocations: 11.98 kB / 0.8346 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.631e-05/0.1641, allocations: 11.92 kB / 0.8347 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.1641, allocations: 0 / 0.8347 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.174e-05/0.1642, allocations: 3.938 kB / 0.8347 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.1642, allocations: 0 / 0.8347 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.1642, allocations: 0 / 0.8347 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1643, allocations: 27.97 kB / 0.8347 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.1643, allocations: 0 / 0.8347 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.1643, allocations: 0 / 0.8347 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.434e-05/0.1644, allocations: 19.97 kB / 0.8347 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1644, allocations: 0 / 0.8347 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1644, allocations: 0 / 0.8347 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.1644, allocations: 0 / 0.8347 GB, free: 7.402 MB / 0.5762 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.0002937/0.1647, allocations: 246.4 kB / 0.8349 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1647, allocations: 9.344 kB / 0.8349 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.165, allocations: 24.91 kB / 0.835 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.1651, allocations: 102.5 kB / 0.8351 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1651, allocations: 384 / 0.8351 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1651, allocations: 384 / 0.8351 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1652, allocations: 38.23 kB / 0.8351 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1653, allocations: 192 / 0.8351 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1653, allocations: 7.875 kB / 0.8351 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1653, allocations: 4 kB / 0.8351 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.1654, allocations: 15.92 kB / 0.8351 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1655, allocations: 120.8 kB / 0.8352 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.633e-05/0.1656, allocations: 18.61 kB / 0.8353 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.1656, allocations: 12.91 kB / 0.8353 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.1656, allocations: 0 / 0.8353 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1657, allocations: 38.56 kB / 0.8353 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1657, allocations: 0 / 0.8353 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002359/0.1659, allocations: 57.48 kB / 0.8354 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.166, allocations: 55.41 kB / 0.8354 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.404e-05/0.166, allocations: 89.86 kB / 0.8355 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.166, allocations: 25.7 kB / 0.8355 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.166, allocations: 80.14 kB / 0.8356 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1661, allocations: 4.125 kB / 0.8356 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.1661, allocations: 9.719 kB / 0.8356 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1662, allocations: 314.8 kB / 0.8359 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.1663, allocations: 3.984 kB / 0.8359 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.1663, allocations: 4 kB / 0.8359 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.1664, allocations: 20.84 kB / 0.836 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1664, allocations: 4.062 kB / 0.836 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001183/0.1665, allocations: 41.62 kB / 0.836 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1665, allocations: 8 kB / 0.836 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1665, allocations: 0 / 0.836 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1666, allocations: 7.922 kB / 0.836 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.1666, allocations: 4 kB / 0.836 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1666, allocations: 4 kB / 0.836 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.1667, allocations: 0 / 0.836 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1667, allocations: 4.031 kB / 0.836 GB, free: 5.867 MB / 0.5762 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 7.282e-05/0.1667, allocations: 110.5 kB / 0.8361 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.1667, allocations: 4 kB / 0.8361 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.1668, allocations: 10.94 kB / 0.8361 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1668, allocations: 0 / 0.8361 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1668, allocations: 0 / 0.8361 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1668, allocations: 0 / 0.8361 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.1669, allocations: 112.8 kB / 0.8362 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1669, allocations: 7.938 kB / 0.8363 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.1669, allocations: 7.984 kB / 0.8363 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1669, allocations: 0 / 0.8363 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1669, allocations: 7.938 kB / 0.8363 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1669, allocations: 0 / 0.8363 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1669, allocations: 0 / 0.8363 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.1671, allocations: 69.05 kB / 0.8363 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.1671, allocations: 4 kB / 0.8363 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1671, allocations: 7.969 kB / 0.8363 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.1671, allocations: 0 / 0.8363 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.1671, allocations: 0 / 0.8363 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.1671, allocations: 0 / 0.8363 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.1672, allocations: 79.28 kB / 0.8364 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1672, allocations: 0 / 0.8364 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001805/0.1673, allocations: 0 / 0.8364 GB, free: 5.383 MB / 0.5762 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 0.0001043/0.1675, allocations: 103.1 kB / 0.8365 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.1676, allocations: 19.92 kB / 0.8365 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1676, allocations: 0 / 0.8365 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.1676, allocations: 4 kB / 0.8365 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.1678, allocations: 10.89 kB / 0.8366 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.168, allocations: 106.7 kB / 0.8367 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1683, allocations: 0.6769 MB / 0.8373 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.1683, allocations: 11.44 kB / 0.8373 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.1683, allocations: 0 / 0.8373 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of Templates: time 0.001703/0.17, allocations: 393.9 kB / 0.8377 GB, free: 4.004 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.885861753951758] Failed to read output from testmodel.py, exit status != 0: 0.17734599113464355 0.19201177500000002 0.024700079000000003 Calling exit ...