Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.0009367/0.0009367, allocations: 93.06 kB / 19.65 MB, free: 280 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.001008/0.001008, allocations: 169 kB / 23.02 MB, free: 1.547 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.924/0.924, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.001607/0.001607, allocations: 226.1 kB / 260.2 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 0.7389/0.7389, allocations: 138.4 MB / 455.2 MB, free: 1.547 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.229e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001788/0.00181, allocations: 1.491 MB / 0.5566 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005125/0.002322, allocations: 371.6 kB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.00235, allocations: 4 kB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.002376, allocations: 0 / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.002416, allocations: 3.938 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.002796, allocations: 119.5 kB / 0.5571 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.002856, allocations: 23.92 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.677e-05/0.002923, allocations: 7.984 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.002962, allocations: 8 kB / 0.5571 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.069e-05/0.002993, allocations: 15.98 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.003005, allocations: 0 / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.00325, allocations: 263.6 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.003266, allocations: 11.92 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.003282, allocations: 0 / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.003445, allocations: 127.7 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003447, allocations: 0 / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003448, allocations: 0 / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.003452, allocations: 3.938 kB / 0.5575 GB, free: 14.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000399/0.003851, allocations: 384.4 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.003887, allocations: 8.75 kB / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.003965, allocations: 16.89 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.597e-05/0.004041, allocations: 116.5 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.004051, allocations: 384 / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.004058, allocations: 384 / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.004171, allocations: 54.94 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.004179, allocations: 192 / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.004188, allocations: 4.359 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.004196, allocations: 384 / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.004222, allocations: 11.94 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.004467, allocations: 255.8 kB / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.841e-05/0.004515, allocations: 35.06 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.004533, allocations: 7.688 kB / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.004821, allocations: 75.98 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.004841, allocations: 37.39 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.004842, allocations: 0 / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000153/0.004995, allocations: 53.52 kB / 0.5585 GB, free: 12.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.005022, allocations: 55.41 kB / 0.5586 GB, free: 12.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.005084, allocations: 165.9 kB / 0.5587 GB, free: 12.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.005097, allocations: 29.7 kB / 0.5588 GB, free: 12.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.005134, allocations: 126.9 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.005148, allocations: 3.953 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.005172, allocations: 23.38 kB / 0.5589 GB, free: 12.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.005266, allocations: 492.1 kB / 0.5594 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.00528, allocations: 8.109 kB / 0.5594 GB, free: 11.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-06/0.005288, allocations: 4 kB / 0.5594 GB, free: 11.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/0.005316, allocations: 19.69 kB / 0.5594 GB, free: 11.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005318, allocations: 0 / 0.5594 GB, free: 11.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.772e-05/0.005375, allocations: 37.64 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.005385, allocations: 7.938 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.005391, allocations: 7.922 kB / 0.5595 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.005403, allocations: 4 kB / 0.5595 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.005458, allocations: 7.984 kB / 0.5595 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.005462, allocations: 96 / 0.5595 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.005476, allocations: 4 kB / 0.5595 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.005481, allocations: 4 kB / 0.5595 GB, free: 11.84 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 (2): * Single equations (assignments): 2 * 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.0001854/0.005666, allocations: 156.6 kB / 0.5596 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.005688, allocations: 7.953 kB / 0.5596 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.005767, allocations: 49.25 kB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005769, allocations: 3.938 kB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.005773, allocations: 3.984 kB / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.005775, allocations: 0 / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.221e-05/0.005857, allocations: 112.6 kB / 0.5598 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005859, allocations: 4.031 kB / 0.5598 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.005883, allocations: 11.98 kB / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.005885, allocations: 0 / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.00589, allocations: 0 / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.005892, allocations: 3.938 kB / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005893, allocations: 0 / 0.5598 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.941e-05/0.005983, allocations: 183.9 kB / 0.56 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.00599, allocations: 7.953 kB / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.006, allocations: 4 kB / 0.56 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.006034, allocations: 3.938 kB / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.006073, allocations: 12.02 kB / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.006076, allocations: 0 / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.875e-05/0.006115, allocations: 131.4 kB / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006115, allocations: 0 / 0.5601 GB, free: 11.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.006272, allocations: 19.94 kB / 0.5602 GB, free: 11.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000145/0.006417, allocations: 107.2 kB / 0.5603 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.739e-05/0.006515, allocations: 15.69 kB / 0.5603 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006516, allocations: 0 / 0.5603 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.006536, allocations: 15.75 kB / 0.5603 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.006727, allocations: 4 kB / 0.5603 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.006952, allocations: 117.3 kB / 0.5604 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.704e-05/0.006989, allocations: 63.28 kB / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.508e-05/0.007004, allocations: 0 / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.007025, allocations: 16.5 kB / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/0.007026, allocations: 0 / 0.5605 GB, free: 10.68 MB / 490.7 MB Notification: Performance of Templates: time 0.002533/0.009559, allocations: 0.8479 MB / 0.5613 GB, free: 9.84 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.566690788138658]