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.001311/0.001311, allocations: 80.67 kB / 19.18 MB, free: 2.527 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.001426/0.001426, allocations: 166.4 kB / 22.46 MB, free: 5.355 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.417/1.417, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.002424/0.002424, allocations: 237.6 kB / 259.4 MB, free: 484 kB / 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.071/1.071, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.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: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 0.6468 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.694e-05, allocations: 5.516 kB / 0.6468 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001346/0.001363, allocations: 0.6042 MB / 0.6474 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000216/0.001579, allocations: 39.88 kB / 0.6475 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.474e-05/0.001594, allocations: 0 / 0.6475 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.001607, allocations: 0 / 0.6475 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-06/0.001612, allocations: 0 / 0.6475 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.001818, allocations: 19.92 kB / 0.6475 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.759e-05/0.001856, allocations: 7.938 kB / 0.6475 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.001893, allocations: 3.984 kB / 0.6475 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.001915, allocations: 3.984 kB / 0.6475 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.733e-05/0.001932, allocations: 0 / 0.6475 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.001944, allocations: 4 kB / 0.6475 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.002044, allocations: 19.92 kB / 0.6475 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.002054, allocations: 3.938 kB / 0.6475 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.036e-05/0.002064, allocations: 0 / 0.6475 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.873e-05/0.002143, allocations: 19.97 kB / 0.6476 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002145, allocations: 0 / 0.6476 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002145, allocations: 4 kB / 0.6476 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.002152, allocations: 0 / 0.6476 GB, free: 4.238 MB / 0.5606 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.0002806/0.002433, allocations: 238.4 kB / 0.6478 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.002468, allocations: 13.34 kB / 0.6478 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.002691, allocations: 16.91 kB / 0.6478 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.31e-05/0.002784, allocations: 105.8 kB / 0.6479 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-06/0.00279, allocations: 4.312 kB / 0.6479 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.0028, allocations: 4.375 kB / 0.6479 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.002932, allocations: 38.25 kB / 0.648 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.002939, allocations: 192 / 0.648 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.002947, allocations: 384 / 0.648 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.00295, allocations: 384 / 0.648 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.137e-05/0.003041, allocations: 11.92 kB / 0.648 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.00317, allocations: 101.3 kB / 0.6481 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.003254, allocations: 26.53 kB / 0.6481 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.003312, allocations: 8.922 kB / 0.6481 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.003324, allocations: 4 kB / 0.6481 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.003348, allocations: 30.56 kB / 0.6481 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.003349, allocations: 0 / 0.6481 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002354/0.003584, allocations: 49.67 kB / 0.6482 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.003622, allocations: 51.41 kB / 0.6482 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.137e-05/0.003674, allocations: 89.86 kB / 0.6483 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.003691, allocations: 25.7 kB / 0.6483 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.003725, allocations: 84.14 kB / 0.6484 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.003748, allocations: 128 / 0.6484 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.003781, allocations: 17.7 kB / 0.6484 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.003927, allocations: 318.8 kB / 0.6487 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.003973, allocations: 7.875 kB / 0.6487 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.004018, allocations: 13.28 kB / 0.6488 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.579e-05/0.004114, allocations: 16.84 kB / 0.6488 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004115, allocations: 0 / 0.6488 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001292/0.004244, allocations: 41.75 kB / 0.6488 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.004257, allocations: 11.94 kB / 0.6488 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.004261, allocations: 0 / 0.6488 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.004274, allocations: 0 / 0.6488 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.004334, allocations: 0 / 0.6488 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.004337, allocations: 4 kB / 0.6488 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.004374, allocations: 7.922 kB / 0.6488 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.004379, allocations: 3.938 kB / 0.6488 GB, free: 2.746 MB / 0.5606 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.759e-05/0.004457, allocations: 109.8 kB / 0.6489 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.004464, allocations: 4.031 kB / 0.649 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.00449, allocations: 7 kB / 0.649 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.004491, allocations: 0 / 0.649 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.004493, allocations: 0 / 0.649 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.004495, allocations: 0 / 0.649 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.061e-05/0.004576, allocations: 113.2 kB / 0.6491 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.004577, allocations: 0 / 0.6491 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.004616, allocations: 0 / 0.6491 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.004617, allocations: 0 / 0.6491 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.004623, allocations: 4 kB / 0.6491 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004624, allocations: 0 / 0.6491 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.004626, allocations: 7.984 kB / 0.6491 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.004788, allocations: 69.05 kB / 0.6491 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.004793, allocations: 3.953 kB / 0.6491 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.004805, allocations: 4 kB / 0.6492 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.087e-05/0.004836, allocations: 0 / 0.6492 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.00485, allocations: 7.938 kB / 0.6492 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.004856, allocations: 3.984 kB / 0.6492 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.00489, allocations: 75.28 kB / 0.6492 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.00489, allocations: 0 / 0.6492 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001715/0.005062, allocations: 4.031 kB / 0.6492 GB, free: 2.281 MB / 0.5606 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 9.613e-05/0.005158, allocations: 99.19 kB / 0.6493 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.005291, allocations: 11.98 kB / 0.6493 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.005292, allocations: 3.938 kB / 0.6493 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.005337, allocations: 4 kB / 0.6494 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.005456, allocations: 6.641 kB / 0.6494 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.005706, allocations: 96.97 kB / 0.6495 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.905e-05/0.005755, allocations: 51.36 kB / 0.6495 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.005782, allocations: 7.938 kB / 0.6495 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.005805, allocations: 8.5 kB / 0.6495 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.005806, allocations: 0 / 0.6495 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of Templates: time 0.002124/0.007929, allocations: 243.4 kB / 0.6497 GB, free: 1.707 MB / 0.5606 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: 5.671662211418152] Failed to read output from testmodel.py, exit status != 0: 0.01505805179476738 0.282053802 0.27665913400000003 Calling exit ...