Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7816/0.7816, allocations: 128.7 MB / 143.7 MB, free: 2.297 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.002073/0.002072, allocations: 187.2 kB / 173.8 MB, free: 6.105 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.776/1.776, allocations: 205.4 MB / 409 MB, free: 10.49 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.0008647/0.0008647, allocations: 83.55 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 10.38 kB / 0.5603 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 76.77 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.2757, allocations: 102.6 MB / 0.7355 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.276, allocations: 83.88 kB / 0.7355 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00207/0.2781, allocations: 0.7934 MB / 0.7363 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2781, allocations: 0 / 0.7363 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2781, allocations: 0 / 0.7363 GB, free: 6.98 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.0003752/0.2785, allocations: 347.2 kB / 0.7366 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2785, allocations: 12.02 kB / 0.7367 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.2787, allocations: 19.94 kB / 0.7367 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2788, allocations: 163.1 kB / 0.7368 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2788, allocations: 0 / 0.7368 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2789, allocations: 4 kB / 0.7368 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.279, allocations: 65.66 kB / 0.7369 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2791, allocations: 0 / 0.7369 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2791, allocations: 0 / 0.7369 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2791, allocations: 3.938 kB / 0.7369 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.2793, allocations: 63.95 kB / 0.737 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.2797, allocations: 276.9 kB / 0.7372 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.2799, allocations: 62.55 kB / 0.7373 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.2799, allocations: 4.062 kB / 0.7373 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.28, allocations: 30.56 kB / 0.7373 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.28, allocations: 3.938 kB / 0.7373 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0004359/0.2804, allocations: 129.5 kB / 0.7374 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.2805, allocations: 59.48 kB / 0.7375 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.2806, allocations: 96.98 kB / 0.7376 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2806, allocations: 25.7 kB / 0.7376 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.2806, allocations: 84.14 kB / 0.7377 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.2807, allocations: 3.906 kB / 0.7377 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.2807, allocations: 0 / 0.7377 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2808, allocations: 314.8 kB / 0.738 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.2809, allocations: 35.97 kB / 0.738 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.281, allocations: 31.97 kB / 0.7381 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.936e-05/0.2811, allocations: 28.05 kB / 0.7381 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.2811, allocations: 0 / 0.7381 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002372/0.2814, allocations: 101.6 kB / 0.7382 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2814, allocations: 8 kB / 0.7382 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2814, allocations: 0 / 0.7382 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2814, allocations: 3.938 kB / 0.7382 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.2816, allocations: 11.98 kB / 0.7382 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.2816, allocations: 4 kB / 0.7382 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.2817, allocations: 15.94 kB / 0.7382 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.2817, allocations: 4.031 kB / 0.7382 GB, free: 4.797 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 0.0001147/0.2818, allocations: 113.8 kB / 0.7383 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.2818, allocations: 7.906 kB / 0.7384 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.2819, allocations: 3.531 kB / 0.7384 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2819, allocations: 0 / 0.7384 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2819, allocations: 256 / 0.7384 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2819, allocations: 0 / 0.7384 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.2821, allocations: 173.6 kB / 0.7385 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2821, allocations: 0 / 0.7385 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.2822, allocations: 19.98 kB / 0.7385 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2822, allocations: 0 / 0.7385 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.2822, allocations: 3.938 kB / 0.7385 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2822, allocations: 3.984 kB / 0.7386 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2822, allocations: 0 / 0.7386 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.2825, allocations: 187.5 kB / 0.7387 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.2826, allocations: 85.05 kB / 0.7388 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2826, allocations: 7.984 kB / 0.7388 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.2827, allocations: 12.03 kB / 0.7388 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.2827, allocations: 3.984 kB / 0.7388 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.2827, allocations: 0 / 0.7388 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.2828, allocations: 83.28 kB / 0.7389 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2828, allocations: 0 / 0.7389 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002017/0.283, allocations: 8 kB / 0.7389 GB, free: 4 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.0001233/0.2831, allocations: 103 kB / 0.739 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.2834, allocations: 71.88 kB / 0.7391 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2834, allocations: 4 kB / 0.7391 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.2835, allocations: 32.05 kB / 0.7391 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.2837, allocations: 7.938 kB / 0.7391 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.284, allocations: 136.7 kB / 0.7393 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.2843, allocations: 0.6809 MB / 0.7399 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.2844, allocations: 0 / 0.7399 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.2844, allocations: 11.44 kB / 0.7399 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.2844, allocations: 0 / 0.7399 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of Templates: time 0.002208/0.2866, allocations: 497.3 kB / 0.7404 GB, free: 2.414 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)