Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8173/0.8173, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 177 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008421/0.000842, allocations: 94.31 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001593/0.001592, allocations: 270.6 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 20 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3538, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.4828, allocations: 107.1 MB / 0.8441 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.4831, allocations: 75.97 kB / 0.8441 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002179/0.4853, allocations: 0.7764 MB / 0.8449 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4853, allocations: 0 / 0.8449 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4854, allocations: 4 kB / 0.8449 GB, free: 2.242 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.0004253/0.4858, allocations: 343.4 kB / 0.8452 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.4859, allocations: 8.031 kB / 0.8452 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.4861, allocations: 24.86 kB / 0.8453 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.4862, allocations: 172.2 kB / 0.8454 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.4863, allocations: 4.375 kB / 0.8454 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.4863, allocations: 4.375 kB / 0.8454 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.4865, allocations: 58.23 kB / 0.8455 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.4865, allocations: 4.188 kB / 0.8455 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4865, allocations: 3.938 kB / 0.8455 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4865, allocations: 0 / 0.8455 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.4867, allocations: 67.94 kB / 0.8456 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.4872, allocations: 280.9 kB / 0.8458 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.4874, allocations: 66.42 kB / 0.8459 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.4875, allocations: 40.89 kB / 0.8459 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.4875, allocations: 0 / 0.8459 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.4876, allocations: 30.56 kB / 0.846 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.4876, allocations: 0 / 0.846 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0004182/0.488, allocations: 129.6 kB / 0.8461 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.488, allocations: 51.41 kB / 0.8461 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/0.4881, allocations: 113.9 kB / 0.8462 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4882, allocations: 25.7 kB / 0.8463 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.4882, allocations: 80.14 kB / 0.8463 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4882, allocations: 11.91 kB / 0.8463 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4882, allocations: 0 / 0.8463 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4884, allocations: 314.8 kB / 0.8466 GB, free: 240 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4885, allocations: 31.98 kB / 0.8467 GB, free: 208 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.4886, allocations: 31.97 kB / 0.8467 GB, free: 176 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.4888, allocations: 68.88 kB / 0.8468 GB, free: 104 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4888, allocations: 0 / 0.8468 GB, free: 104 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002564/0.489, allocations: 101.6 kB / 0.8469 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4891, allocations: 4 kB / 0.8469 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4891, allocations: 0 / 0.8469 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4891, allocations: 0 / 0.8469 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4892, allocations: 19.98 kB / 0.8469 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4892, allocations: 0 / 0.8469 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.4893, allocations: 16.02 kB / 0.8469 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4893, allocations: 4 kB / 0.8469 GB, free: 15.95 MB / 0.5261 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 7.868e-05/0.4894, allocations: 109.8 kB / 0.847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.4894, allocations: 7.734 kB / 0.847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.4895, allocations: 11.53 kB / 0.847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4895, allocations: 0 / 0.847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4895, allocations: 0 / 0.847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4895, allocations: 0 / 0.847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.4896, allocations: 169.6 kB / 0.8472 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4897, allocations: 0 / 0.8472 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.4897, allocations: 11.98 kB / 0.8472 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4898, allocations: 4 kB / 0.8472 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.4898, allocations: 256 / 0.8472 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4898, allocations: 4 kB / 0.8472 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4898, allocations: 3.984 kB / 0.8472 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.4901, allocations: 195.4 kB / 0.8474 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.4901, allocations: 77.11 kB / 0.8475 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.4902, allocations: 4.031 kB / 0.8475 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.4902, allocations: 15.98 kB / 0.8475 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.4903, allocations: 3.984 kB / 0.8475 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.4903, allocations: 3.984 kB / 0.8475 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.4903, allocations: 83.28 kB / 0.8476 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4903, allocations: 0 / 0.8476 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002025/0.4906, allocations: 11.91 kB / 0.8476 GB, free: 15.16 MB / 0.5261 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.0001259/0.4907, allocations: 99.25 kB / 0.8477 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.4909, allocations: 63.94 kB / 0.8478 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4909, allocations: 4 kB / 0.8478 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.4911, allocations: 39.92 kB / 0.8478 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.4913, allocations: 7.922 kB / 0.8478 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.4917, allocations: 128.7 kB / 0.8479 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.4919, allocations: 0.6809 MB / 0.8486 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.492, allocations: 0 / 0.8486 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.492, allocations: 7.438 kB / 0.8486 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/0.492, allocations: 0 / 0.8486 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.002703/0.4947, allocations: 0.4966 MB / 0.8491 GB, free: 13.58 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)