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.00184/0.00184, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002042/0.002042, allocations: 169.6 kB / 22.76 MB, free: 1.66 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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003351/0.003351, allocations: 237.9 kB / 259.8 MB, free: 12.86 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 1.174/1.174, allocations: 138.5 MB / 454.7 MB, free: 1.48 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.402e-06/1.402e-06, allocations: 0 / 0.5544 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.607e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001811/0.001837, allocations: 0.6121 MB / 0.555 GB, free: 148 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007858/0.002622, allocations: 322.8 kB / 0.5553 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.002646, allocations: 0 / 0.5553 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.002658, allocations: 0 / 0.5553 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.002697, allocations: 3.938 kB / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.003168, allocations: 119.5 kB / 0.5554 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.312e-05/0.003241, allocations: 31.91 kB / 0.5555 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.095e-05/0.003272, allocations: 0 / 0.5555 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.003334, allocations: 15.98 kB / 0.5555 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.003386, allocations: 11.92 kB / 0.5555 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.003402, allocations: 0 / 0.5555 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.003857, allocations: 263.6 kB / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.003877, allocations: 7.984 kB / 0.5557 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.0039, allocations: 8 kB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.004163, allocations: 135.5 kB / 0.5559 GB, free: 15.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.004167, allocations: 0 / 0.5559 GB, free: 15.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.004168, allocations: 0 / 0.5559 GB, free: 15.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.004172, allocations: 4 kB / 0.5559 GB, free: 15.24 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.0005372/0.004709, allocations: 388 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.004746, allocations: 8.75 kB / 0.5563 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.004835, allocations: 8.891 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.004959, allocations: 116.5 kB / 0.5564 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.004975, allocations: 4.359 kB / 0.5564 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.004999, allocations: 8.375 kB / 0.5564 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.005157, allocations: 101.6 kB / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.005169, allocations: 192 / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.005178, allocations: 384 / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005183, allocations: 4.375 kB / 0.5565 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.834e-05/0.005251, allocations: 27.86 kB / 0.5565 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.005462, allocations: 124.6 kB / 0.5566 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.005591, allocations: 63.05 kB / 0.5567 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.005643, allocations: 27.67 kB / 0.5567 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005406/0.006183, allocations: 75.92 kB / 0.5568 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.006231, allocations: 41.39 kB / 0.5568 GB, free: 14.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.006232, allocations: 0 / 0.5568 GB, free: 14.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001372/0.007604, allocations: 488.5 kB / 0.5573 GB, free: 13.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.007647, allocations: 55.41 kB / 0.5574 GB, free: 13.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.007993, allocations: 157.9 kB / 0.5575 GB, free: 13.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.008014, allocations: 29.7 kB / 0.5575 GB, free: 13.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.008091, allocations: 130.9 kB / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.008145, allocations: 43.64 kB / 0.5577 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.008206, allocations: 35.36 kB / 0.5577 GB, free: 13.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002757/0.008482, allocations: 496.1 kB / 0.5582 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.008529, allocations: 23.98 kB / 0.5582 GB, free: 12.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.008575, allocations: 23.48 kB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.008686, allocations: 59.62 kB / 0.5583 GB, free: 12.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.008687, allocations: 0 / 0.5583 GB, free: 12.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001971/0.008884, allocations: 105.6 kB / 0.5584 GB, free: 12.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.008899, allocations: 4 kB / 0.5584 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.008904, allocations: 8.188 kB / 0.5584 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.008921, allocations: 3.938 kB / 0.5584 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.009036, allocations: 20 kB / 0.5585 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.009042, allocations: 0 / 0.5585 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.009073, allocations: 7.984 kB / 0.5585 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.009083, allocations: 3.984 kB / 0.5585 GB, free: 12.33 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 0.0001277/0.009211, allocations: 164.5 kB / 0.5586 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.009251, allocations: 15.95 kB / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.009483, allocations: 97.8 kB / 0.5587 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.009488, allocations: 3.938 kB / 0.5587 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.009492, allocations: 4 kB / 0.5587 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.009498, allocations: 3.984 kB / 0.5587 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.009985, allocations: 349.3 kB / 0.5591 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009986, allocations: 0 / 0.5591 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.01011, allocations: 27.98 kB / 0.5591 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.01011, allocations: 3.938 kB / 0.5591 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01012, allocations: 0 / 0.5591 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01012, allocations: 0 / 0.5591 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01013, allocations: 4 kB / 0.5591 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.0105, allocations: 275.7 kB / 0.5594 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.01054, allocations: 15.98 kB / 0.5594 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01056, allocations: 7.922 kB / 0.5594 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.01064, allocations: 8 kB / 0.5594 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.01067, allocations: 3.984 kB / 0.5594 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.01068, allocations: 8 kB / 0.5594 GB, free: 11.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.01076, allocations: 123.2 kB / 0.5595 GB, free: 11.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01076, allocations: 0 / 0.5595 GB, free: 11.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000302/0.01107, allocations: 39.94 kB / 0.5596 GB, free: 11.12 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.000319/0.01139, allocations: 151.1 kB / 0.5597 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.01157, allocations: 71.59 kB / 0.5598 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01157, allocations: 3.938 kB / 0.5598 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.01164, allocations: 47.61 kB / 0.5598 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01187, allocations: 5.016 kB / 0.5598 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.01229, allocations: 180.4 kB / 0.56 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.95e-05/0.01238, allocations: 71.33 kB / 0.5601 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.01244, allocations: 12.09 kB / 0.5601 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.01247, allocations: 12.5 kB / 0.5601 GB, free: 10.52 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01247, allocations: 0 / 0.5601 GB, free: 10.52 MB / 490.7 MB Notification: Performance of Templates: time 0.005054/0.01752, allocations: 1.441 MB / 0.5615 GB, free: 9.137 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: 5.854099298012443]