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 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.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.7366/0.7366, allocations: 140.1 MB / 156 MB, free: 5.145 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.001019/0.001019, allocations: 188.7 kB / 188.5 MB, free: 15.8 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.364/1.364, allocations: 205.4 MB / 426.3 MB, free: 8.453 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.000797/0.0007971, allocations: 94.28 kB / 0.4945 GB, free: 8.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001743/0.001743, allocations: 274.4 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 20 kB / 0.662 GB, free: 6.777 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3527, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.4831, allocations: 106.4 MB / 0.8434 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.4834, allocations: 87.81 kB / 0.8435 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002557/0.486, allocations: 0.9515 MB / 0.8444 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.986e-06/0.486, allocations: 0 / 0.8444 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4861, allocations: 0 / 0.8444 GB, free: 2.703 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.0003097/0.4864, allocations: 327.5 kB / 0.8448 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4864, allocations: 12.03 kB / 0.8448 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.4866, allocations: 8.922 kB / 0.8448 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.4867, allocations: 168.3 kB / 0.8449 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.4867, allocations: 384 / 0.8449 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4868, allocations: 384 / 0.8449 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.4869, allocations: 46.23 kB / 0.845 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4869, allocations: 192 / 0.845 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4869, allocations: 7.938 kB / 0.845 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.487, allocations: 0 / 0.845 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.487, allocations: 11.98 kB / 0.845 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.4872, allocations: 157.6 kB / 0.8451 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.4874, allocations: 38.55 kB / 0.8452 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.4874, allocations: 16.91 kB / 0.8452 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.4875, allocations: 4 kB / 0.8452 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.4875, allocations: 34.56 kB / 0.8452 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 2.305e-06/0.4875, allocations: 0 / 0.8452 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.000229/0.4877, allocations: 57.61 kB / 0.8453 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.4878, allocations: 59.34 kB / 0.8454 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.523e-05/0.4878, allocations: 89.86 kB / 0.8454 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4878, allocations: 25.7 kB / 0.8455 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.4879, allocations: 84.14 kB / 0.8455 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.4879, allocations: 7.812 kB / 0.8455 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.4879, allocations: 0 / 0.8455 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4881, allocations: 318.8 kB / 0.8459 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.4881, allocations: 8 kB / 0.8459 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.4881, allocations: 7.984 kB / 0.8459 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.744e-05/0.4882, allocations: 16.86 kB / 0.8459 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4882, allocations: 4 kB / 0.8459 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001123/0.4884, allocations: 49.67 kB / 0.8459 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4884, allocations: 4.781 kB / 0.8459 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4884, allocations: 0 / 0.8459 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4884, allocations: 7.875 kB / 0.8459 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.4888, allocations: 39.94 kB / 0.846 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.49, allocations: 1.32 MB / 0.8473 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.49, allocations: 0 / 0.8473 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.49, allocations: 7.938 kB / 0.8473 GB, free: 15.45 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 (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 8.386e-05/0.4901, allocations: 113.8 kB / 0.8474 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.4901, allocations: 3.938 kB / 0.8474 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.4902, allocations: 7.594 kB / 0.8474 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.4902, allocations: 0 / 0.8474 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.4902, allocations: 0 / 0.8474 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4902, allocations: 0 / 0.8474 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.193e-05/0.4903, allocations: 157.6 kB / 0.8476 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4903, allocations: 0 / 0.8476 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.4906, allocations: 51.92 kB / 0.8476 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4906, allocations: 0 / 0.8476 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.4906, allocations: 0 / 0.8476 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.4917, allocations: 1.313 MB / 0.8489 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4917, allocations: 0 / 0.8489 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.4918, allocations: 81.2 kB / 0.849 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.4918, allocations: 77.11 kB / 0.849 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.4919, allocations: 4 kB / 0.849 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.395e-05/0.4919, allocations: 0 / 0.849 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.4919, allocations: 3.984 kB / 0.849 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4919, allocations: 0 / 0.849 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.492, allocations: 79.28 kB / 0.8491 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.492, allocations: 0 / 0.8491 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001883/0.4922, allocations: 8 kB / 0.8491 GB, free: 13.33 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 (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.0001506/0.4923, allocations: 107.1 kB / 0.8492 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.4927, allocations: 59.91 kB / 0.8493 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4927, allocations: 4 kB / 0.8493 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.493, allocations: 36.09 kB / 0.8493 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.4931, allocations: 8.109 kB / 0.8493 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.4934, allocations: 99.05 kB / 0.8494 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.4936, allocations: 0.6731 MB / 0.8501 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.4937, allocations: 4 kB / 0.8501 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.4937, allocations: 11.44 kB / 0.8501 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.4937, allocations: 3.938 kB / 0.8501 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.002091/0.4958, allocations: 383.8 kB / 0.8505 GB, free: 11.9 MB / 0.5261 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)