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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7545/0.7545, allocations: 117.9 MB / 133.9 MB, free: 4.527 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.001075/0.001075, allocations: 186.6 kB / 161.7 MB, free: 2.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.4 MB / 394.8 MB, free: 20.95 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.0007823/0.0007823, allocations: 98.03 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003813, allocations: 16 kB / 0.5423 GB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4099, allocations: 74.53 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.5762, allocations: 101.4 MB / 0.7142 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5765, allocations: 75.95 kB / 0.7143 GB, free: 472 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002339/0.5789, allocations: 0.7909 MB / 0.715 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5789, allocations: 0 / 0.715 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5789, allocations: 0 / 0.715 GB, free: 15.67 MB / 0.4948 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.0004322/0.5793, allocations: 343.4 kB / 0.7154 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.5794, allocations: 12.03 kB / 0.7154 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.5796, allocations: 16.92 kB / 0.7154 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.5797, allocations: 172.3 kB / 0.7156 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.5798, allocations: 384 / 0.7156 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.5798, allocations: 384 / 0.7156 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.58, allocations: 70.22 kB / 0.7156 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.58, allocations: 4.188 kB / 0.7156 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5801, allocations: 7.922 kB / 0.7156 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5801, allocations: 0 / 0.7156 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.5803, allocations: 59.89 kB / 0.7157 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.5807, allocations: 284.9 kB / 0.716 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.5809, allocations: 66.23 kB / 0.716 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.581, allocations: 32.91 kB / 0.7161 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.5811, allocations: 3.984 kB / 0.7161 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.5811, allocations: 34.56 kB / 0.7161 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.5811, allocations: 11.94 kB / 0.7161 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0004391/0.5816, allocations: 121.7 kB / 0.7162 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.5816, allocations: 51.41 kB / 0.7163 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.5817, allocations: 105.9 kB / 0.7164 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.5817, allocations: 29.69 kB / 0.7164 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.5818, allocations: 88.14 kB / 0.7165 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.5818, allocations: 3.906 kB / 0.7165 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.5818, allocations: 0 / 0.7165 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.582, allocations: 318.9 kB / 0.7168 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.5821, allocations: 31.97 kB / 0.7168 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.5822, allocations: 23.98 kB / 0.7168 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.5824, allocations: 76.8 kB / 0.7169 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5824, allocations: 3.938 kB / 0.7169 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002312/0.5826, allocations: 101.5 kB / 0.717 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5827, allocations: 5.562 kB / 0.717 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5827, allocations: 0 / 0.717 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.5827, allocations: 8.031 kB / 0.717 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5828, allocations: 11.98 kB / 0.717 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5828, allocations: 0 / 0.717 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.5829, allocations: 15.98 kB / 0.7171 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.5829, allocations: 0 / 0.7171 GB, free: 13.38 MB / 0.4948 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.895e-05/0.583, allocations: 113.8 kB / 0.7172 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.5831, allocations: 8 kB / 0.7172 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.5831, allocations: 7.516 kB / 0.7172 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5831, allocations: 0 / 0.7172 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5831, allocations: 0 / 0.7172 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5831, allocations: 0 / 0.7172 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.5833, allocations: 169.6 kB / 0.7173 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5833, allocations: 0 / 0.7173 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.45e-05/0.5834, allocations: 19.92 kB / 0.7174 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5834, allocations: 0 / 0.7174 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5835, allocations: 4 kB / 0.7174 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5835, allocations: 0 / 0.7174 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5835, allocations: 0 / 0.7174 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.5838, allocations: 191.4 kB / 0.7175 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.5838, allocations: 85.02 kB / 0.7176 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.5839, allocations: 3.938 kB / 0.7176 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.584, allocations: 11.98 kB / 0.7176 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.584, allocations: 0 / 0.7176 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.584, allocations: 4 kB / 0.7176 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.453e-05/0.5841, allocations: 91.55 kB / 0.7177 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5841, allocations: 4 kB / 0.7177 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002029/0.5843, allocations: 4 kB / 0.7177 GB, free: 12.59 MB / 0.4948 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.0001598/0.5845, allocations: 99.03 kB / 0.7178 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.5847, allocations: 67.89 kB / 0.7179 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5848, allocations: 0 / 0.7179 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.5849, allocations: 35.97 kB / 0.7179 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.5852, allocations: 12.06 kB / 0.7179 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.5855, allocations: 127.2 kB / 0.7181 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.5858, allocations: 0.6809 MB / 0.7187 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.5859, allocations: 4 kB / 0.7187 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.5859, allocations: 7.438 kB / 0.7187 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/0.5859, allocations: 3.938 kB / 0.7187 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.002431/0.5883, allocations: 0.489 MB / 0.7192 GB, free: 11 MB / 0.4948 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)