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.8737/0.8737, allocations: 128.8 MB / 143.7 MB, free: 2.324 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.001495/0.001495, allocations: 186.1 kB / 173.8 MB, free: 6.141 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.675/1.675, allocations: 205.4 MB / 409 MB, free: 10.52 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.0009187/0.0009188, allocations: 91.86 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 10.03 kB / 0.5603 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 76.76 MB / 0.6353 GB, free: 30.6 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.3217, allocations: 103.3 MB / 0.7362 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.322, allocations: 79.95 kB / 0.7362 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01313/0.3351, allocations: 4.624 MB / 0.7408 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3352, allocations: 0 / 0.7408 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3352, allocations: 4 kB / 0.7408 GB, free: 2.469 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.0005208/0.3357, allocations: 375.1 kB / 0.7411 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.3358, allocations: 8.031 kB / 0.7411 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.3359, allocations: 7.953 kB / 0.7411 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.336, allocations: 167 kB / 0.7413 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3361, allocations: 3.938 kB / 0.7413 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3361, allocations: 4 kB / 0.7413 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3363, allocations: 53.67 kB / 0.7414 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3363, allocations: 4 kB / 0.7414 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3363, allocations: 0 / 0.7414 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3363, allocations: 0 / 0.7414 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.3366, allocations: 39.97 kB / 0.7414 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.3371, allocations: 272.9 kB / 0.7417 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3372, allocations: 50.48 kB / 0.7417 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.3379, allocations: 461.5 kB / 0.7421 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3379, allocations: 38.56 kB / 0.7422 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.3379, allocations: 0 / 0.7422 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0004101/0.3383, allocations: 97.55 kB / 0.7423 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3384, allocations: 63.36 kB / 0.7423 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.3385, allocations: 101.1 kB / 0.7424 GB, free: 492 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3385, allocations: 25.7 kB / 0.7425 GB, free: 460 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3386, allocations: 88.14 kB / 0.7425 GB, free: 368 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.3386, allocations: 7.891 kB / 0.7425 GB, free: 360 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.3386, allocations: 0 / 0.7425 GB, free: 360 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3388, allocations: 318.9 kB / 0.7429 GB, free: 32 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.3389, allocations: 19.98 kB / 0.7429 GB, free: 12 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.387/0.7259, allocations: 22.09 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.726, allocations: 21.22 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7261, allocations: 0.8438 kB / 0.7429 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000307/0.7264, allocations: 81.25 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.7264, allocations: 8.234 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.7264, allocations: 0 / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.7264, allocations: 0.5625 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.7266, allocations: 13.47 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7266, allocations: 4.906 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.7266, allocations: 9.406 kB / 0.743 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.7267, allocations: 5.438 kB / 0.743 GB, free: 109.8 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 8.208e-05/0.7268, allocations: 113.9 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.7268, allocations: 3.969 kB / 0.7431 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.7271, allocations: 88.53 kB / 0.7432 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.7271, allocations: 0 / 0.7432 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7271, allocations: 3.594 kB / 0.7432 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7271, allocations: 0 / 0.7432 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.7273, allocations: 161.5 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7273, allocations: 1.594 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.7273, allocations: 11.08 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7273, allocations: 0 / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.7274, allocations: 1.406 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7274, allocations: 1.625 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7274, allocations: 0.8906 kB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.7276, allocations: 178 kB / 0.7436 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.7277, allocations: 85.53 kB / 0.7437 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.7277, allocations: 5.062 kB / 0.7437 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.7278, allocations: 9.141 kB / 0.7437 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.7278, allocations: 2.938 kB / 0.7437 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.7278, allocations: 1.438 kB / 0.7437 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.327e-05/0.7279, allocations: 88.17 kB / 0.7438 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7279, allocations: 0 / 0.7438 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002803/0.7282, allocations: 20.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.0002177/0.7284, allocations: 116.4 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.7286, allocations: 48.69 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7287, allocations: 1.188 kB / 0.7439 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.7288, allocations: 27.58 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.0002041/0.729, allocations: 7.109 kB / 0.744 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.7293, allocations: 111 kB / 0.7441 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.7294, allocations: 0.6796 MB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.7295, allocations: 4.938 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.7295, allocations: 9.094 kB / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.7295, allocations: 0 / 0.7447 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.002745/0.7323, allocations: 0.6096 MB / 0.7453 GB, free: 108.2 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)