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.000923/0.000923, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.0009753/0.0009753, allocations: 170 kB / 23.27 MB, free: 1.223 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.9473/0.9473, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.001758/0.001758, allocations: 248.8 kB / 260.5 MB, free: 12.68 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.8183/0.8183, allocations: 138.4 MB / 455.5 MB, free: 30.05 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.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 2.365e-06/2.365e-06, allocations: 0 / 0.5556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.239e-05, allocations: 6.094 kB / 0.5556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001202/0.001224, allocations: 0.6058 MB / 0.5562 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005033/0.001727, allocations: 322.7 kB / 0.5565 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.00176, allocations: 4 kB / 0.5565 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.001779, allocations: 0 / 0.5565 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.395e-05/0.001803, allocations: 4 kB / 0.5565 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.00218, allocations: 111.4 kB / 0.5567 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.23e-05/0.002222, allocations: 15.98 kB / 0.5567 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.204e-05/0.002254, allocations: 0 / 0.5567 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.002287, allocations: 11.98 kB / 0.5567 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.002341, allocations: 7.922 kB / 0.5567 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.002353, allocations: 0 / 0.5567 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.002616, allocations: 255.6 kB / 0.5569 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.002631, allocations: 12 kB / 0.5569 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.12e-05/0.002643, allocations: 0 / 0.5569 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.002798, allocations: 119.7 kB / 0.5571 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.0028, allocations: 0 / 0.5571 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.002801, allocations: 0 / 0.5571 GB, free: 14.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.002805, allocations: 0 / 0.5571 GB, free: 14.35 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.0002717/0.003076, allocations: 364.1 kB / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.003113, allocations: 12.75 kB / 0.5574 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.00317, allocations: 1.281 kB / 0.5574 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.499e-05/0.003235, allocations: 120.5 kB / 0.5575 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.003243, allocations: 4.375 kB / 0.5575 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.003259, allocations: 12.34 kB / 0.5575 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/0.003331, allocations: 51.97 kB / 0.5576 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.003338, allocations: 8.125 kB / 0.5576 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-06/0.003343, allocations: 384 / 0.5576 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003348, allocations: 384 / 0.5576 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.999e-06/0.003358, allocations: 7.938 kB / 0.5576 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.778e-05/0.003456, allocations: 101.2 kB / 0.5577 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.00349, allocations: 31.03 kB / 0.5577 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.003503, allocations: 11.75 kB / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.003791, allocations: 75.92 kB / 0.5578 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.003816, allocations: 41.39 kB / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.003817, allocations: 0 / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003024/0.004119, allocations: 181.7 kB / 0.558 GB, free: 13.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.004141, allocations: 51.41 kB / 0.5581 GB, free: 13.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/0.004199, allocations: 157.9 kB / 0.5582 GB, free: 12.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.004208, allocations: 29.7 kB / 0.5583 GB, free: 12.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.004241, allocations: 126.9 kB / 0.5584 GB, free: 12.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.00426, allocations: 7.906 kB / 0.5584 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.004285, allocations: 23.38 kB / 0.5584 GB, free: 12.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.004397, allocations: 0.4961 MB / 0.5589 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.004404, allocations: 352 / 0.5589 GB, free: 12.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.004421, allocations: 27.31 kB / 0.5589 GB, free: 12.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.004452, allocations: 23.38 kB / 0.5589 GB, free: 12.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004454, allocations: 3.984 kB / 0.559 GB, free: 12.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.199e-05/0.004526, allocations: 49.64 kB / 0.559 GB, free: 12.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.004536, allocations: 4 kB / 0.559 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.00454, allocations: 0 / 0.559 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.004551, allocations: 4 kB / 0.559 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.33e-05/0.004584, allocations: 7.984 kB / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.004588, allocations: 4.062 kB / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.004599, allocations: 7.938 kB / 0.559 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.004605, allocations: 3.984 kB / 0.559 GB, free: 12.08 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.906e-05/0.004664, allocations: 156.6 kB / 0.5592 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.004677, allocations: 4 kB / 0.5592 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.004756, allocations: 57.41 kB / 0.5592 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.004758, allocations: 4.031 kB / 0.5592 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.004759, allocations: 3.938 kB / 0.5592 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.004763, allocations: 3.984 kB / 0.5593 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.158e-05/0.004825, allocations: 105.2 kB / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004825, allocations: 0 / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.004851, allocations: 4 kB / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004852, allocations: 0 / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-06/0.004855, allocations: 0 / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004856, allocations: 4 kB / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004856, allocations: 0 / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.562e-05/0.004942, allocations: 92.3 kB / 0.5594 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-06/0.004946, allocations: 0 / 0.5594 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-06/0.004953, allocations: 0 / 0.5594 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.004967, allocations: 4.031 kB / 0.5595 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.00498, allocations: 8 kB / 0.5595 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.004984, allocations: 4 kB / 0.5595 GB, free: 11.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.032e-05/0.005014, allocations: 127.2 kB / 0.5596 GB, free: 11.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005014, allocations: 0 / 0.5596 GB, free: 11.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.005146, allocations: 19.94 kB / 0.5596 GB, free: 11.43 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.000122/0.005268, allocations: 127.2 kB / 0.5597 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.044e-05/0.005318, allocations: 27.67 kB / 0.5597 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005319, allocations: 224 / 0.5598 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.005329, allocations: 19.62 kB / 0.5598 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.005434, allocations: 7.938 kB / 0.5598 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001555/0.005589, allocations: 112.9 kB / 0.5599 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.397e-05/0.005613, allocations: 55.36 kB / 0.5599 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.119e-05/0.005635, allocations: 7.984 kB / 0.5599 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.005672, allocations: 70.2 kB / 0.56 GB, free: 10.94 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.005672, allocations: 0 / 0.56 GB, free: 10.94 MB / 490.7 MB Notification: Performance of Templates: time 0.002197/0.007869, allocations: 1.032 MB / 0.561 GB, free: 9.953 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.6238590823486447]