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.0006849/0.0006849, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008627/0.001548, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006804/0.0006804, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008657/0.001546, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9524/0.9524, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08948/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001345/0.001345, allocations: 247.5 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.002406, allocations: 463 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7659/0.7659, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0736/0.8395, allocations: 42.4 MB / 426.5 MB, free: 5.953 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.963e-06/1.963e-06, allocations: 0 / 427.9 MB, free: 4.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.29e-05, allocations: 2.312 kB / 427.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001298/0.001321, allocations: 0.6781 MB / 428.5 MB, free: 3.883 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003814/0.001702, allocations: 334.6 kB / 428.9 MB, free: 3.555 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.001719, allocations: 0 / 428.9 MB, free: 3.555 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.849e-06/0.001724, allocations: 0 / 428.9 MB, free: 3.555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.039e-05/0.001734, allocations: 3.938 kB / 428.9 MB, free: 3.551 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.00196, allocations: 99.59 kB / 429 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.002015, allocations: 23.92 kB / 429 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.002048, allocations: 4 kB / 429 MB, free: 3.426 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.002103, allocations: 15.98 kB / 429 MB, free: 3.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.002156, allocations: 19.91 kB / 429 MB, free: 3.391 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.002169, allocations: 0 / 429 MB, free: 3.391 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.002456, allocations: 279.6 kB / 429.3 MB, free: 3.117 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.002467, allocations: 4 kB / 429.3 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.00248, allocations: 4 kB / 429.3 MB, free: 3.109 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.002632, allocations: 107.6 kB / 429.4 MB, free: 3.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.385e-05/0.002646, allocations: 0 / 429.4 MB, free: 3.004 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002647, allocations: 0 / 429.4 MB, free: 3.004 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.002663, allocations: 0 / 429.4 MB, free: 3.004 MB / 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.0003369/0.003, allocations: 280.4 kB / 429.7 MB, free: 2.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.631e-05/0.003026, allocations: 8.031 kB / 429.7 MB, free: 2.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.003101, allocations: 86.05 kB / 429.8 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.108e-05/0.003172, allocations: 101.8 kB / 429.9 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.003182, allocations: 4.375 kB / 429.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.0032, allocations: 8.359 kB / 429.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.154e-05/0.003292, allocations: 101.6 kB / 430 MB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.0033, allocations: 4.125 kB / 430 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.003307, allocations: 384 / 430 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.003312, allocations: 384 / 430 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.003345, allocations: 19.92 kB / 430 MB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.759e-05/0.003433, allocations: 68.94 kB / 430.1 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.003505, allocations: 50.62 kB / 430.1 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.003523, allocations: 16.84 kB / 430.1 MB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.003799, allocations: 87.88 kB / 430.2 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.00382, allocations: 34.56 kB / 430.3 MB, free: 2.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.003821, allocations: 0 / 430.3 MB, free: 2.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008107/0.004631, allocations: 439.7 kB / 430.7 MB, free: 1.543 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.004657, allocations: 55.34 kB / 430.7 MB, free: 1.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.136e-05/0.004708, allocations: 118.6 kB / 430.9 MB, free: 1.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.004718, allocations: 25.7 kB / 430.9 MB, free: 1.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.004738, allocations: 84.14 kB / 431 MB, free: 1.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.004769, allocations: 43.62 kB / 431 MB, free: 1.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.004799, allocations: 25.72 kB / 431 MB, free: 1.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.004869, allocations: 318.8 kB / 431.3 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.004884, allocations: 8 kB / 431.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.004897, allocations: 15.94 kB / 431.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.004936, allocations: 32.83 kB / 431.4 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.004937, allocations: 0 / 431.4 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.178e-05/0.005019, allocations: 77.67 kB / 431.5 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.005031, allocations: 8 kB / 431.5 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005035, allocations: 0 / 431.5 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.005044, allocations: 0 / 431.5 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.005115, allocations: 27.92 kB / 431.5 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.005119, allocations: 7.938 kB / 431.5 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.005131, allocations: 4 kB / 431.5 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.005138, allocations: 4 kB / 431.5 MB, free: 0.6445 MB / 410.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.09e-05/0.005189, allocations: 113.8 kB / 431.6 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.005208, allocations: 11.98 kB / 431.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.997e-05/0.005308, allocations: 81.7 kB / 431.7 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00531, allocations: 0 / 431.7 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005311, allocations: 0 / 431.7 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.005315, allocations: 7.938 kB / 431.7 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.005504, allocations: 218.8 kB / 432 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.005505, allocations: 4 kB / 432 MB, free: 184 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.005575, allocations: 27.92 kB / 432 MB, free: 156 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.005591, allocations: 11.94 kB / 432 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.005594, allocations: 4 kB / 432 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.0056, allocations: 3.938 kB / 432 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.005601, allocations: 0 / 432 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.005602, allocations: 0 / 432 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1819/0.1875, allocations: 175.3 kB / 432.2 MB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1875, allocations: 4.328 kB / 432.2 MB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.1876, allocations: 2.344 kB / 432.2 MB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.1876, allocations: 11.95 kB / 432.2 MB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-06/0.1876, allocations: 4.594 kB / 432.2 MB, free: 3.078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.526e-05/0.1876, allocations: 8.484 kB / 432.2 MB, free: 3.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1876, allocations: 0.875 kB / 432.2 MB, free: 3.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.1878, allocations: 43.84 kB / 432.3 MB, free: 3.07 MB / 410.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.0002171/0.188, allocations: 135.1 kB / 432.4 MB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1881, allocations: 47.03 kB / 432.4 MB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.1882, allocations: 2.406 kB / 432.4 MB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.1882, allocations: 28.92 kB / 432.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1883, allocations: 15.08 kB / 432.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.1886, allocations: 153.9 kB / 432.6 MB, free: 2.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.77e-05/0.1886, allocations: 67.03 kB / 432.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.1887, allocations: 4.578 kB / 432.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.1887, allocations: 63.83 kB / 432.8 MB, free: 2.762 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1887, allocations: 0 / 432.8 MB, free: 2.762 MB / 410.7 MB Notification: Performance of Templates: time 0.003651/0.1923, allocations: 1.648 MB / 434.4 MB, free: 2.742 MB / 410.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.4626272171735764]