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.0009594/0.0009594, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001352/0.001352, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.001677/0.001677, allocations: 250.9 kB / 260.5 MB, free: 12.7 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.7363/0.7363, allocations: 138.4 MB / 402.2 MB, free: 0.5742 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.593e-06/1.593e-06, allocations: 0 / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.126e-05, allocations: 4.062 kB / 462.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001258/0.00128, allocations: 0.643 MB / 463 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005249/0.001805, allocations: 325.2 kB / 463.3 MB, free: 344 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.001831, allocations: 0.6875 kB / 463.3 MB, free: 344 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.001847, allocations: 0 / 463.3 MB, free: 344 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.601e-05/0.001883, allocations: 7.891 kB / 463.3 MB, free: 340 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.002311, allocations: 120.8 kB / 463.5 MB, free: 296 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.002379, allocations: 23.66 kB / 463.5 MB, free: 292 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.002413, allocations: 1.922 kB / 463.5 MB, free: 292 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.00247, allocations: 16.56 kB / 463.5 MB, free: 288 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.002519, allocations: 13.22 kB / 463.5 MB, free: 284 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.002532, allocations: 1.531 kB / 463.5 MB, free: 284 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.002838, allocations: 258 kB / 463.8 MB, free: 232 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.002856, allocations: 7.047 kB / 463.8 MB, free: 228 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.002872, allocations: 12.16 kB / 463.8 MB, free: 224 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.003057, allocations: 133.5 kB / 463.9 MB, free: 176 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003059, allocations: 0.7969 kB / 463.9 MB, free: 176 kB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00306, allocations: 0 / 463.9 MB, free: 176 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.003063, allocations: 2.875 kB / 463.9 MB, free: 176 kB / 410.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.0002983/0.003361, allocations: 263.1 kB / 464.2 MB, free: 15.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.003393, allocations: 10.94 kB / 464.2 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.003455, allocations: 7 kB / 464.2 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.513e-05/0.00353, allocations: 113 kB / 464.3 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.003542, allocations: 5.844 kB / 464.3 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.00356, allocations: 6.844 kB / 464.3 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.003651, allocations: 103 kB / 464.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.003659, allocations: 192 / 464.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.003667, allocations: 2 kB / 464.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003672, allocations: 384 / 464.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.003696, allocations: 15.89 kB / 464.4 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.568e-05/0.003792, allocations: 67.03 kB / 464.5 MB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.003866, allocations: 53.42 kB / 464.6 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.003886, allocations: 16.52 kB / 464.6 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.004166, allocations: 77.55 kB / 464.6 MB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.004193, allocations: 41.25 kB / 464.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.004194, allocations: 0 / 464.7 MB, free: 15.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008365/0.005031, allocations: 452.8 kB / 465.1 MB, free: 15.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.005059, allocations: 53.5 kB / 465.2 MB, free: 15.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.901e-05/0.005108, allocations: 104.9 kB / 465.3 MB, free: 15.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.005119, allocations: 31.3 kB / 465.3 MB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.005143, allocations: 82.91 kB / 465.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.005176, allocations: 38.89 kB / 465.4 MB, free: 14.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.005209, allocations: 28.53 kB / 465.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.005289, allocations: 316.1 kB / 465.8 MB, free: 14.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.005307, allocations: 14.47 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.005325, allocations: 12.38 kB / 465.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.035e-05/0.005376, allocations: 37.8 kB / 465.8 MB, free: 14.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.005377, allocations: 1.281 kB / 465.8 MB, free: 14.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.759e-05/0.005465, allocations: 67.97 kB / 465.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.005477, allocations: 6 kB / 465.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.005482, allocations: 1 kB / 465.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.005493, allocations: 2.047 kB / 465.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.005559, allocations: 26.72 kB / 465.9 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.005563, allocations: 6.938 kB / 465.9 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.005575, allocations: 2.906 kB / 465.9 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.005581, allocations: 1.375 kB / 465.9 MB, free: 14.51 MB / 426.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 5.459e-05/0.005636, allocations: 112.9 kB / 466.1 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.005659, allocations: 8.062 kB / 466.1 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.005767, allocations: 90.94 kB / 466.2 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.00577, allocations: 1.312 kB / 466.2 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.005772, allocations: 0.6562 kB / 466.2 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.005776, allocations: 6.562 kB / 466.2 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.005979, allocations: 225.4 kB / 466.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.00598, allocations: 0 / 466.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.006043, allocations: 23.88 kB / 466.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.006047, allocations: 4.203 kB / 466.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.006052, allocations: 0 / 466.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006054, allocations: 2 kB / 466.4 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.006056, allocations: 3.938 kB / 466.4 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.006205, allocations: 186.1 kB / 466.6 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.006226, allocations: 9.578 kB / 466.6 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.006234, allocations: 2.578 kB / 466.6 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.006272, allocations: 6.422 kB / 466.6 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.006287, allocations: 10.56 kB / 466.6 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.006292, allocations: 1.312 kB / 466.6 MB, free: 13.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.093e-05/0.006303, allocations: 9.812 kB / 466.6 MB, free: 13.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006303, allocations: 1.281 kB / 466.6 MB, free: 13.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000181/0.006484, allocations: 46.14 kB / 466.7 MB, free: 13.96 MB / 426.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.0001714/0.006656, allocations: 135.1 kB / 466.8 MB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.006734, allocations: 42.72 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.006737, allocations: 9.031 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.309e-05/0.00676, allocations: 27.8 kB / 466.9 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.006865, allocations: 9.406 kB / 466.9 MB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.007114, allocations: 160.6 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.00715, allocations: 59.83 kB / 467.1 MB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.007188, allocations: 12.14 kB / 467.1 MB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.007237, allocations: 65.42 kB / 467.2 MB, free: 13.47 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007237, allocations: 0 / 467.2 MB, free: 13.47 MB / 426.7 MB Notification: Performance of Templates: time 0.003127/0.01036, allocations: 1.644 MB / 468.8 MB, free: 12.05 MB / 426.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.638941598124802]