Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001011/0.001011, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001521/0.001521, allocations: 173 kB / 23.49 MB, free: 1.059 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.9841/0.9841, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.001702/0.001702, allocations: 243.7 kB / 260.5 MB, free: 12.89 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.7486/0.7486, allocations: 138.4 MB / 455.4 MB, free: 1.531 MB / 362.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5551 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.697e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001485/0.001512, allocations: 0.6313 MB / 0.5557 GB, free: 172 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005888/0.002101, allocations: 326.7 kB / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.002129, allocations: 0 / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.002151, allocations: 3.938 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.046e-05/0.002181, allocations: 0 / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.002991, allocations: 119.6 kB / 0.5561 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.003059, allocations: 23.92 kB / 0.5562 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.0031, allocations: 3.984 kB / 0.5562 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-05/0.003162, allocations: 12 kB / 0.5562 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.003213, allocations: 11.97 kB / 0.5562 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.003228, allocations: 0 / 0.5562 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.003553, allocations: 267.5 kB / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.003571, allocations: 11.92 kB / 0.5565 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.003592, allocations: 8 kB / 0.5565 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.003807, allocations: 127.6 kB / 0.5566 GB, free: 15.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003809, allocations: 4 kB / 0.5566 GB, free: 15.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.003812, allocations: 4 kB / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.003816, allocations: 0 / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004085/0.004225, allocations: 388.3 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.004269, allocations: 12.75 kB / 0.557 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.004363, allocations: 4.938 kB / 0.557 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.004457, allocations: 112.5 kB / 0.5571 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004469, allocations: 4.375 kB / 0.5571 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.004492, allocations: 12.31 kB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.004611, allocations: 93.66 kB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.004622, allocations: 4.188 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.004634, allocations: 4.375 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.004641, allocations: 384 / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.004683, allocations: 19.92 kB / 0.5572 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.004831, allocations: 128.6 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.004938, allocations: 62.98 kB / 0.5574 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.004977, allocations: 23.91 kB / 0.5574 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003756/0.005352, allocations: 79.91 kB / 0.5575 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.005378, allocations: 37.39 kB / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.005379, allocations: 0 / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009853/0.006365, allocations: 460.3 kB / 0.558 GB, free: 13.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.006396, allocations: 55.41 kB / 0.558 GB, free: 13.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.006473, allocations: 157.9 kB / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.006488, allocations: 29.7 kB / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.006525, allocations: 130.8 kB / 0.5583 GB, free: 13.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.006562, allocations: 35.69 kB / 0.5584 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.006608, allocations: 39.33 kB / 0.5584 GB, free: 13.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.006727, allocations: 0.4884 MB / 0.5589 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.00676, allocations: 19.94 kB / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.006791, allocations: 22.86 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.006863, allocations: 43.67 kB / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006864, allocations: 4 kB / 0.559 GB, free: 12.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001485/0.007013, allocations: 85.69 kB / 0.559 GB, free: 12.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.007026, allocations: 4 kB / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007031, allocations: 192 / 0.5591 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.007044, allocations: 3.938 kB / 0.5591 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.007141, allocations: 35.86 kB / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.007145, allocations: 0 / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.007164, allocations: 3.984 kB / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.007172, allocations: 4 kB / 0.5591 GB, free: 12.42 MB / 490.7 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 (13): * Single equations (assignments): 13 * 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.146e-05/0.007244, allocations: 156.6 kB / 0.5592 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.007281, allocations: 19.95 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.007433, allocations: 97.72 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.007436, allocations: 3.938 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.007439, allocations: 0 / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.007442, allocations: 0 / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.00776, allocations: 341.4 kB / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.007762, allocations: 0 / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/0.007854, allocations: 23.94 kB / 0.5597 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.007859, allocations: 7.938 kB / 0.5597 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.007869, allocations: 4 kB / 0.5597 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.00787, allocations: 0 / 0.5597 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.007873, allocations: 7.984 kB / 0.5597 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.008102, allocations: 251.8 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.008129, allocations: 15.94 kB / 0.56 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.008145, allocations: 7.938 kB / 0.56 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.008205, allocations: 4 kB / 0.56 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.008227, allocations: 7.984 kB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.008234, allocations: 0 / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.819e-05/0.008272, allocations: 123.2 kB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008272, allocations: 0 / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.008537, allocations: 47.86 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0004679/0.009005, allocations: 151.1 kB / 0.5603 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.009129, allocations: 58.78 kB / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009131, allocations: 0 / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.009172, allocations: 39.61 kB / 0.5604 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.009386, allocations: 8 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.009704, allocations: 176.5 kB / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.009742, allocations: 59.36 kB / 0.5606 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.668e-05/0.009788, allocations: 15.98 kB / 0.5607 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.009814, allocations: 12.5 kB / 0.5607 GB, free: 10.68 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009814, allocations: 0 / 0.5607 GB, free: 10.68 MB / 490.7 MB Notification: Performance of Templates: time 0.003441/0.01325, allocations: 1.438 MB / 0.5621 GB, free: 9.289 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6963137187995017]