Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8855/0.8855, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 175.9 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 96.2 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 266.6 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005254, allocations: 19.22 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1923, allocations: 82.8 MB / 0.7737 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.3548, allocations: 107.9 MB / 0.8791 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.3551, allocations: 77.97 kB / 0.8792 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002363/0.3575, allocations: 0.9609 MB / 0.8801 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3575, allocations: 0 / 0.8801 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3575, allocations: 0 / 0.8801 GB, free: 0.6992 MB / 0.5417 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.0003142/0.3578, allocations: 327.4 kB / 0.8805 GB, free: 340 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3579, allocations: 8.562 kB / 0.8805 GB, free: 332 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.358, allocations: 7.984 kB / 0.8805 GB, free: 324 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.3581, allocations: 159.1 kB / 0.8806 GB, free: 124 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3582, allocations: 3.953 kB / 0.8806 GB, free: 120 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.3582, allocations: 7.938 kB / 0.8806 GB, free: 112 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.3583, allocations: 37.67 kB / 0.8807 GB, free: 68 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3583, allocations: 0 / 0.8807 GB, free: 68 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3584, allocations: 4 kB / 0.8807 GB, free: 64 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3584, allocations: 4 kB / 0.8807 GB, free: 60 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.3585, allocations: 15.92 kB / 0.8807 GB, free: 44 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3875/0.7459, allocations: 145.2 kB / 0.8808 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.7462, allocations: 39.94 kB / 0.8809 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.7462, allocations: 3.578 kB / 0.8809 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.7463, allocations: 36.72 kB / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 3.096e-06/0.7463, allocations: 0 / 0.8809 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002435/0.7465, allocations: 54.12 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.7466, allocations: 52.91 kB / 0.881 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.158e-05/0.7466, allocations: 94.55 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.7466, allocations: 25.7 kB / 0.8811 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.514e-05/0.7466, allocations: 80.14 kB / 0.8812 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.7467, allocations: 9.984 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.7467, allocations: 1.812 kB / 0.8812 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.7467, allocations: 318.3 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.7468, allocations: 6.281 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.7468, allocations: 6.062 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/0.7469, allocations: 11.94 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7469, allocations: 1.391 kB / 0.8815 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001061/0.747, allocations: 53.11 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.747, allocations: 5.406 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.747, allocations: 2.688 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.7471, allocations: 4.703 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.7475, allocations: 46.75 kB / 0.8816 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009831/0.7484, allocations: 1.305 MB / 0.8829 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.7485, allocations: 2.625 kB / 0.8829 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.7485, allocations: 2.125 kB / 0.8829 GB, free: 107.2 MB / 0.5417 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.7486, allocations: 121.8 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.7486, allocations: 9.062 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.789e-06/0.7486, allocations: 3.5 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.7486, allocations: 4.953 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.7486, allocations: 0.7969 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7486, allocations: 3.078 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.064e-05/0.7487, allocations: 152.9 kB / 0.8832 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7487, allocations: 0 / 0.8832 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.7491, allocations: 48.53 kB / 0.8833 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.7491, allocations: 0 / 0.8833 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.7491, allocations: 1.906 kB / 0.8833 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008252/0.7499, allocations: 1.325 MB / 0.8845 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7499, allocations: 0 / 0.8845 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.75, allocations: 77.42 kB / 0.8846 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.7501, allocations: 78.66 kB / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-06/0.7501, allocations: 0 / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.551e-05/0.7501, allocations: 0 / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.7501, allocations: 14.98 kB / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.7501, allocations: 0.9375 kB / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.653e-05/0.7502, allocations: 75.28 kB / 0.8848 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.12e-07/0.7502, allocations: 4 kB / 0.8848 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001784/0.7504, allocations: 6.594 kB / 0.8848 GB, free: 105.3 MB / 0.5417 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.7505, allocations: 101.3 kB / 0.8849 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.7509, allocations: 60.27 kB / 0.8849 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7509, allocations: 0.6562 kB / 0.8849 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.7511, allocations: 30.94 kB / 0.885 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.532e-05/0.7512, allocations: 0 / 0.885 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.7515, allocations: 96.09 kB / 0.8851 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.7517, allocations: 0.6892 MB / 0.8857 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.7517, allocations: 0 / 0.8857 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.7517, allocations: 13.42 kB / 0.8858 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.7517, allocations: 0 / 0.8858 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.00205/0.7538, allocations: 387.2 kB / 0.8861 GB, free: 104.3 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)