Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0009436/0.0009436, allocations: 88.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.000953/0.000953, allocations: 173 kB / 23.5 MB, free: 1.055 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.9575/0.9575, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.001719/0.001719, allocations: 238.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.7675/0.7675, allocations: 138.4 MB / 455.4 MB, free: 1.578 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5551 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.674e-05, allocations: 5.828 kB / 0.5551 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.000989/0.001006, allocations: 0.6118 MB / 0.5557 GB, free: 244 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004599/0.001466, allocations: 318.8 kB / 0.556 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.001486, allocations: 4 kB / 0.556 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.001501, allocations: 0 / 0.556 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.845e-05/0.00152, allocations: 3.938 kB / 0.556 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.001864, allocations: 111.6 kB / 0.5561 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.182e-05/0.001916, allocations: 11.98 kB / 0.5561 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.00195, allocations: 4 kB / 0.5561 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.444e-05/0.001974, allocations: 4 kB / 0.5561 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.002026, allocations: 7.969 kB / 0.5561 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.002039, allocations: 0 / 0.5561 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.002283, allocations: 259.6 kB / 0.5564 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.002298, allocations: 7.938 kB / 0.5564 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.002314, allocations: 4 kB / 0.5564 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.002469, allocations: 119.7 kB / 0.5565 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002471, allocations: 0 / 0.5565 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002471, allocations: 0 / 0.5565 GB, free: 15.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.002475, allocations: 0 / 0.5565 GB, free: 15.4 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002826/0.002758, allocations: 368.5 kB / 0.5569 GB, free: 15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.002792, allocations: 12.75 kB / 0.5569 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.002866, allocations: 4.891 kB / 0.5569 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.481e-05/0.002941, allocations: 112.6 kB / 0.557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.002951, allocations: 384 / 0.557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.002971, allocations: 8.359 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.003067, allocations: 59.97 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.003074, allocations: 4.188 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.003084, allocations: 384 / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.003093, allocations: 4.375 kB / 0.5571 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.45e-05/0.003107, allocations: 3.938 kB / 0.5571 GB, free: 14.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.003219, allocations: 112.6 kB / 0.5572 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/0.00326, allocations: 35.03 kB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.003276, allocations: 15.69 kB / 0.5572 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.003604, allocations: 79.92 kB / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.003626, allocations: 41.38 kB / 0.5573 GB, free: 14.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.003627, allocations: 0 / 0.5573 GB, free: 14.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003983/0.004025, allocations: 185.9 kB / 0.5575 GB, free: 14.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.004051, allocations: 55.39 kB / 0.5576 GB, free: 14.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/0.00411, allocations: 157.9 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.004121, allocations: 29.7 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.004151, allocations: 126.9 kB / 0.5579 GB, free: 13.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.004171, allocations: 7.953 kB / 0.5579 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.004198, allocations: 23.36 kB / 0.5579 GB, free: 13.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.004293, allocations: 496.1 kB / 0.5584 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.004305, allocations: 4 kB / 0.5584 GB, free: 13.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.004328, allocations: 27.47 kB / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/0.004363, allocations: 31.36 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.004363, allocations: 0 / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.542e-05/0.004429, allocations: 53.59 kB / 0.5585 GB, free: 13.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.004439, allocations: 4 kB / 0.5585 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004444, allocations: 0 / 0.5585 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.004454, allocations: 0 / 0.5585 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.004499, allocations: 11.98 kB / 0.5585 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.004505, allocations: 3.938 kB / 0.5585 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.004517, allocations: 8.062 kB / 0.5585 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.004523, allocations: 4 kB / 0.5585 GB, free: 13.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.191e-05/0.004575, allocations: 152.6 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.004589, allocations: 4 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.004674, allocations: 57.3 kB / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.004675, allocations: 0 / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.004678, allocations: 0 / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.004682, allocations: 3.938 kB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.336e-05/0.004745, allocations: 112.6 kB / 0.5588 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004746, allocations: 4 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.00478, allocations: 4 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.004782, allocations: 3.984 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.004789, allocations: 7.938 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.004789, allocations: 0 / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.00479, allocations: 0 / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.656e-05/0.004887, allocations: 88.31 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.004892, allocations: 7.953 kB / 0.5589 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.0049, allocations: 0 / 0.5589 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.004918, allocations: 4 kB / 0.5589 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.004934, allocations: 12.02 kB / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.004937, allocations: 0 / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.004968, allocations: 127.1 kB / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004968, allocations: 0 / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.005113, allocations: 23.94 kB / 0.5591 GB, free: 12.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.000138/0.005251, allocations: 131.2 kB / 0.5592 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.936e-05/0.00532, allocations: 19.67 kB / 0.5592 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.005322, allocations: 0 / 0.5592 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.005337, allocations: 20.08 kB / 0.5592 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.005438, allocations: 8 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.005622, allocations: 116.9 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.658e-05/0.005648, allocations: 59.34 kB / 0.5594 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.422e-05/0.005673, allocations: 4.078 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.005688, allocations: 12.5 kB / 0.5594 GB, free: 11.99 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005689, allocations: 0 / 0.5594 GB, free: 11.99 MB / 490.7 MB Notification: Performance of Templates: time 0.002192/0.00788, allocations: 0.9167 MB / 0.5603 GB, free: 11.11 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.630742206936702]