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.001017/0.001017, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001423/0.001423, allocations: 169.4 kB / 24.06 MB, free: 452 kB / 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.9717/0.9717, allocations: 177.1 MB / 204.5 MB, free: 5.109 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.00164/0.00164, allocations: 230.8 kB / 261.3 MB, free: 12.52 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.7919/0.7919, allocations: 138.4 MB / 456.3 MB, free: 29.79 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.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.562e-06/1.562e-06, allocations: 0 / 0.5564 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.332e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00183/0.001853, allocations: 0.6234 MB / 0.557 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006833/0.002536, allocations: 322.8 kB / 0.5573 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.002566, allocations: 4 kB / 0.5573 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.002585, allocations: 0 / 0.5573 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.424e-05/0.002619, allocations: 3.938 kB / 0.5573 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.003114, allocations: 119.5 kB / 0.5574 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.00318, allocations: 23.92 kB / 0.5575 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.003218, allocations: 4 kB / 0.5575 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.287e-05/0.003281, allocations: 23.97 kB / 0.5575 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.003336, allocations: 11.98 kB / 0.5575 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.003353, allocations: 0 / 0.5575 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.003751, allocations: 259.6 kB / 0.5578 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.004032, allocations: 15.92 kB / 0.5578 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.004052, allocations: 0 / 0.5578 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.004288, allocations: 131.6 kB / 0.5579 GB, free: 14.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.00429, allocations: 0 / 0.5579 GB, free: 14.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004291, allocations: 0 / 0.5579 GB, free: 14.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.004296, allocations: 4 kB / 0.5579 GB, free: 14.29 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.0003968/0.004693, allocations: 388.4 kB / 0.5583 GB, free: 13.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.004735, allocations: 12.75 kB / 0.5583 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.004811, allocations: 8.938 kB / 0.5583 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.004903, allocations: 116.5 kB / 0.5584 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.004917, allocations: 8.359 kB / 0.5584 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.004945, allocations: 8.328 kB / 0.5584 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.005055, allocations: 93.66 kB / 0.5585 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.005066, allocations: 192 / 0.5585 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.005075, allocations: 4.375 kB / 0.5585 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.005083, allocations: 4.375 kB / 0.5585 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.005119, allocations: 23.84 kB / 0.5585 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.005261, allocations: 117.2 kB / 0.5587 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.005363, allocations: 55.05 kB / 0.5587 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.005393, allocations: 23.89 kB / 0.5587 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004331/0.005826, allocations: 79.92 kB / 0.5588 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.005854, allocations: 33.39 kB / 0.5588 GB, free: 13.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.005856, allocations: 0 / 0.5588 GB, free: 13.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001068/0.006924, allocations: 440.5 kB / 0.5593 GB, free: 12.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.006959, allocations: 55.34 kB / 0.5593 GB, free: 12.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.007039, allocations: 153.9 kB / 0.5595 GB, free: 12.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.007054, allocations: 29.7 kB / 0.5595 GB, free: 12.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.007101, allocations: 130.9 kB / 0.5596 GB, free: 12.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.007145, allocations: 39.67 kB / 0.5596 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.007197, allocations: 35.34 kB / 0.5597 GB, free: 12.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.007339, allocations: 0.4884 MB / 0.5602 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.007366, allocations: 11.98 kB / 0.5602 GB, free: 11.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.007392, allocations: 11.98 kB / 0.5602 GB, free: 11.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/0.007467, allocations: 42.92 kB / 0.5602 GB, free: 11.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.007468, allocations: 3.938 kB / 0.5602 GB, free: 11.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001523/0.007621, allocations: 85.64 kB / 0.5603 GB, free: 11.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.007638, allocations: 7.984 kB / 0.5603 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007643, allocations: 0 / 0.5603 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.007653, allocations: 4 kB / 0.5603 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.007753, allocations: 24 kB / 0.5603 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.007757, allocations: 3.938 kB / 0.5603 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.007783, allocations: 0 / 0.5603 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.007794, allocations: 4 kB / 0.5603 GB, free: 11.52 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 9.008e-05/0.007884, allocations: 164.5 kB / 0.5605 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.007922, allocations: 11.95 kB / 0.5605 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.008081, allocations: 89.73 kB / 0.5606 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.008083, allocations: 192 / 0.5606 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.008086, allocations: 3.938 kB / 0.5606 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.008099, allocations: 11.97 kB / 0.5606 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.008425, allocations: 318 kB / 0.5609 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.008427, allocations: 4 kB / 0.5609 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.008533, allocations: 23.98 kB / 0.5609 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.008536, allocations: 0 / 0.5609 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.008544, allocations: 0 / 0.5609 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.008547, allocations: 3.938 kB / 0.561 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.008548, allocations: 0 / 0.561 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.008797, allocations: 248.5 kB / 0.5612 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.008829, allocations: 11.94 kB / 0.5612 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.008843, allocations: 8.031 kB / 0.5612 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.008919, allocations: 11.88 kB / 0.5612 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.008939, allocations: 7.984 kB / 0.5612 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.008947, allocations: 0 / 0.5612 GB, free: 10.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.008994, allocations: 127.2 kB / 0.5613 GB, free: 10.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008994, allocations: 0 / 0.5613 GB, free: 10.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.009327, allocations: 43.88 kB / 0.5614 GB, free: 10.38 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.0002425/0.009569, allocations: 143.2 kB / 0.5615 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.009696, allocations: 52.47 kB / 0.5616 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.009698, allocations: 4 kB / 0.5616 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.009745, allocations: 43.59 kB / 0.5616 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.009993, allocations: 9.953 kB / 0.5616 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.01031, allocations: 168.3 kB / 0.5618 GB, free: 9.934 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.01035, allocations: 63.28 kB / 0.5619 GB, free: 9.852 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.337e-05/0.01041, allocations: 8 kB / 0.5619 GB, free: 9.844 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.01048, allocations: 82.19 kB / 0.5619 GB, free: 9.762 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01048, allocations: 4 kB / 0.5619 GB, free: 9.758 MB / 490.7 MB Notification: Performance of Templates: time 0.004538/0.01502, allocations: 1.641 MB / 0.5635 GB, free: 8.176 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.73267111601308]