Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7413/0.7413, allocations: 128.8 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 185.6 kB / 173.8 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 90.66 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003438, allocations: 11.41 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1659, allocations: 76.75 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.3173, allocations: 103.3 MB / 0.7362 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.3176, allocations: 79.94 kB / 0.7362 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.3315, allocations: 4.628 MB / 0.7408 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3316, allocations: 0 / 0.7408 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3316, allocations: 0 / 0.7408 GB, free: 2.43 MB / 0.5105 GB 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.0004646/0.3321, allocations: 367.1 kB / 0.7411 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3321, allocations: 8.031 kB / 0.7411 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.3322, allocations: 11.94 kB / 0.7411 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3323, allocations: 171 kB / 0.7413 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3323, allocations: 8 kB / 0.7413 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.3324, allocations: 3.938 kB / 0.7413 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3325, allocations: 53.67 kB / 0.7414 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3326, allocations: 0 / 0.7414 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3326, allocations: 0 / 0.7414 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3326, allocations: 0 / 0.7414 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.3328, allocations: 47.97 kB / 0.7414 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.3332, allocations: 268.9 kB / 0.7417 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3333, allocations: 50.48 kB / 0.7417 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/0.334, allocations: 461.5 kB / 0.7421 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.334, allocations: 30.56 kB / 0.7422 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.334, allocations: 0 / 0.7422 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.00038/0.3344, allocations: 105.5 kB / 0.7423 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.3344, allocations: 55.36 kB / 0.7423 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.3345, allocations: 100.9 kB / 0.7424 GB, free: 456 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3346, allocations: 25.7 kB / 0.7424 GB, free: 424 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.3346, allocations: 84.14 kB / 0.7425 GB, free: 336 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.3346, allocations: 11.83 kB / 0.7425 GB, free: 324 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.3347, allocations: 4.125 kB / 0.7425 GB, free: 320 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.3887/0.7234, allocations: 318.7 kB / 0.7428 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.7237, allocations: 17.08 kB / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.7238, allocations: 20.36 kB / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.724, allocations: 23.28 kB / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.724, allocations: 2.094 kB / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003758/0.7244, allocations: 80.45 kB / 0.743 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.7244, allocations: 8.156 kB / 0.743 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.7244, allocations: 0 / 0.743 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.7245, allocations: 1.672 kB / 0.743 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.7246, allocations: 12.56 kB / 0.743 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.7246, allocations: 1.469 kB / 0.743 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.7247, allocations: 8.594 kB / 0.743 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.7247, allocations: 4.422 kB / 0.743 GB, free: 109.7 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.093e-05/0.7248, allocations: 119.5 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.7249, allocations: 5.516 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.7252, allocations: 86.33 kB / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7252, allocations: 0 / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7253, allocations: 1.031 kB / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7253, allocations: 0 / 0.7432 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.7255, allocations: 162.2 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7255, allocations: 0.6562 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.7256, allocations: 12.16 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7256, allocations: 3.625 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7256, allocations: 1.266 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7256, allocations: 1.469 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7256, allocations: 1.5 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.7259, allocations: 183 kB / 0.7436 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.726, allocations: 79.69 kB / 0.7436 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.726, allocations: 0.75 kB / 0.7436 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.7261, allocations: 9.547 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.7262, allocations: 5.938 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.7262, allocations: 1.938 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.7262, allocations: 82.75 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7262, allocations: 3.75 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003991/0.7267, allocations: 21.8 kB / 0.7438 GB, free: 109.1 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002051/0.7269, allocations: 115.1 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.7272, allocations: 47.84 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7272, allocations: 4.281 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.7273, allocations: 27.45 kB / 0.744 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.7276, allocations: 9.188 kB / 0.744 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.7279, allocations: 118.5 kB / 0.7441 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.7281, allocations: 0.6813 MB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.7281, allocations: 2.438 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.7281, allocations: 7.438 kB / 0.7448 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.7281, allocations: 0 / 0.7448 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.003219/0.7314, allocations: 0.6193 MB / 0.7454 GB, free: 108.1 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)