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.0007713/0.0007713, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007751/0.0007751, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8253/0.8253, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001335/0.001335, allocations: 237.7 kB / 260.2 MB, free: 13.03 MB / 250.7 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 0.67/0.67, allocations: 138.4 MB / 455.1 MB, free: 29.97 MB / 410.7 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.022e-06/1.022e-06, allocations: 0 / 0.6476 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.497e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001163/0.001178, allocations: 0.5995 MB / 0.6482 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001467/0.001325, allocations: 39.83 kB / 0.6482 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-06/0.001335, allocations: 0 / 0.6482 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.997e-06/0.001344, allocations: 0 / 0.6482 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-06/0.001348, allocations: 0 / 0.6482 GB, free: 0.6445 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.001488, allocations: 15.91 kB / 0.6482 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 2.802e-05/0.001516, allocations: 4 kB / 0.6482 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 2.666e-05/0.001542, allocations: 11.98 kB / 0.6482 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.001559, allocations: 0 / 0.6482 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.34e-05/0.001572, allocations: 0 / 0.6482 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.001581, allocations: 0 / 0.6482 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.401e-05/0.001645, allocations: 23.92 kB / 0.6483 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.665e-06/0.001652, allocations: 0 / 0.6483 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.155e-06/0.00166, allocations: 0 / 0.6483 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 5.949e-05/0.00172, allocations: 23.95 kB / 0.6483 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.001721, allocations: 0 / 0.6483 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.61e-07/0.001722, allocations: 0 / 0.6483 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.001725, allocations: 4 kB / 0.6483 GB, free: 0.5625 MB / 0.5573 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.0001625/0.001887, allocations: 234.4 kB / 0.6485 GB, free: 308 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.001916, allocations: 17.92 kB / 0.6485 GB, free: 292 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.002079, allocations: 16.91 kB / 0.6485 GB, free: 276 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.961e-05/0.002128, allocations: 106.5 kB / 0.6486 GB, free: 144 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.002136, allocations: 4.312 kB / 0.6486 GB, free: 140 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-06/0.002141, allocations: 384 / 0.6486 GB, free: 140 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.311e-05/0.002214, allocations: 42.19 kB / 0.6487 GB, free: 92 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.00222, allocations: 4.188 kB / 0.6487 GB, free: 88 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.002226, allocations: 384 / 0.6487 GB, free: 88 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.002229, allocations: 384 / 0.6487 GB, free: 88 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.101e-05/0.00227, allocations: 11.92 kB / 0.6487 GB, free: 76 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2149/0.2172, allocations: 98.92 kB / 0.6488 GB, free: 57.08 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.471e-05/0.2173, allocations: 22.59 kB / 0.6488 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.2173, allocations: 11.3 kB / 0.6488 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2173, allocations: 0 / 0.6488 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.2173, allocations: 33.33 kB / 0.6489 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2173, allocations: 2.031 kB / 0.6489 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001565/0.2175, allocations: 51.17 kB / 0.6489 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.2175, allocations: 52.34 kB / 0.649 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.154e-05/0.2175, allocations: 90.89 kB / 0.6491 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.2175, allocations: 27.67 kB / 0.6491 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.633e-06/0.2175, allocations: 81.17 kB / 0.6492 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2176, allocations: 1.125 kB / 0.6492 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.2176, allocations: 12.95 kB / 0.6492 GB, free: 56.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.215e-05/0.2176, allocations: 322.2 kB / 0.6495 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.2176, allocations: 3.156 kB / 0.6495 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.2177, allocations: 7.438 kB / 0.6495 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.2177, allocations: 17.66 kB / 0.6495 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2177, allocations: 1.031 kB / 0.6495 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.613e-05/0.2178, allocations: 41.97 kB / 0.6495 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2178, allocations: 7 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2178, allocations: 0.7969 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2178, allocations: 2.188 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.2178, allocations: 6.359 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.2179, allocations: 0 / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.2179, allocations: 5.109 kB / 0.6496 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.2179, allocations: 3.578 kB / 0.6496 GB, free: 56.33 MB / 0.5573 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.324e-05/0.2179, allocations: 111 kB / 0.6497 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-06/0.2179, allocations: 0.6875 kB / 0.6497 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.2179, allocations: 4.562 kB / 0.6497 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2179, allocations: 0.6875 kB / 0.6497 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2179, allocations: 2.719 kB / 0.6497 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.218, allocations: 7.188 kB / 0.6497 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.154e-05/0.218, allocations: 96.89 kB / 0.6498 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.218, allocations: 0.5938 kB / 0.6498 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.218, allocations: 6.953 kB / 0.6498 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-07/0.218, allocations: 0 / 0.6498 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.218, allocations: 2.438 kB / 0.6498 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.218, allocations: 0 / 0.6498 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.218, allocations: 2.625 kB / 0.6498 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.152e-05/0.2181, allocations: 74.92 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-06/0.2181, allocations: 3.375 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-06/0.2181, allocations: 1.422 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.2181, allocations: 3.016 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.2181, allocations: 2 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.2181, allocations: 2.984 kB / 0.6499 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.567e-06/0.2181, allocations: 75.28 kB / 0.6499 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2181, allocations: 2.531 kB / 0.65 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001096/0.2182, allocations: 5.844 kB / 0.65 GB, free: 55.95 MB / 0.5573 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 7.972e-05/0.2183, allocations: 94.94 kB / 0.65 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.867e-05/0.2184, allocations: 17.7 kB / 0.6501 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.2184, allocations: 0.6562 kB / 0.6501 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.849e-05/0.2184, allocations: 9.016 kB / 0.6501 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.861e-05/0.2185, allocations: 1.625 kB / 0.6501 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.2187, allocations: 117.6 kB / 0.6502 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.179e-05/0.2187, allocations: 54.69 kB / 0.6502 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.2187, allocations: 10.56 kB / 0.6502 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of SimCode: time 3.5e-07/0.2187, allocations: 0 / 0.6502 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.001268/0.22, allocations: 397.3 kB / 0.6506 GB, free: 55.67 MB / 0.5573 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: 4.896164959296584] Failed to read output from testmodel.py, exit status != 0: 0.22441956400871277 0.23165185900000002 0.22845664200000002 Calling exit ...