Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.523/1.523, allocations: 289.9 MB / 297.4 MB, free: 6.426 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 172.8 kB / 366.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.2 MB / 0.626 GB, free: 7.145 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008427/0.0008426, allocations: 89.42 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.3e-05, allocations: 11.98 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6407/0.6407, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.8247, allocations: 137.5 MB / 1.108 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.825, allocations: 71.95 kB / 1.108 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002298/0.8273, allocations: 0.9439 MB / 1.109 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8273, allocations: 4 kB / 1.109 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8273, allocations: 0.625 kB / 1.109 GB, free: 11.68 MB / 0.7136 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.0002725/0.8276, allocations: 315.9 kB / 1.109 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.8277, allocations: 8.031 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.8278, allocations: 8.516 kB / 1.109 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.8279, allocations: 163.5 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.828, allocations: 8.516 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.828, allocations: 3.188 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.156e-05/0.828, allocations: 5.844 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.653e-05/0.8281, allocations: 37.69 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.8281, allocations: 0 / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.8282, allocations: 0 / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.8282, allocations: 0.5938 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.8283, allocations: 134.7 kB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.8284, allocations: 39.5 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.8285, allocations: 13.95 kB / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.8285, allocations: 0 / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.8285, allocations: 31.41 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.8285, allocations: 0.5 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001324/0.8287, allocations: 42.28 kB / 1.109 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.8287, allocations: 52.12 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.881e-05/0.8287, allocations: 92.88 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.8288, allocations: 26.33 kB / 1.11 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.8288, allocations: 80.92 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.8288, allocations: 11.81 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.8288, allocations: 0.7812 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.829, allocations: 310.8 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.829, allocations: 8.594 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.829, allocations: 8.516 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.085e-05/0.829, allocations: 4.5 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.829, allocations: 0.5625 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.055e-05/0.8291, allocations: 45.69 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8292, allocations: 8.734 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8292, allocations: 0 / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8292, allocations: 0.5 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.8296, allocations: 41.97 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009613/0.8305, allocations: 1.248 MB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.8306, allocations: 0 / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.8306, allocations: 1.312 kB / 1.111 GB, free: 8.672 MB / 0.7136 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 () * 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 7.582e-05/0.8307, allocations: 105 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.8307, allocations: 1.469 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.274e-05/0.8307, allocations: 15.16 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.8307, allocations: 0 / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.8307, allocations: 0 / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.8307, allocations: 1.5 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.162e-05/0.8308, allocations: 134.2 kB / 1.111 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8308, allocations: 0 / 1.111 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.8312, allocations: 50.3 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8312, allocations: 0 / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.8312, allocations: 1.375 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007889/0.832, allocations: 1.246 MB / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.832, allocations: 3.953 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.14e-05/0.8321, allocations: 69.14 kB / 1.113 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.8321, allocations: 85.02 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-06/0.8322, allocations: 96 / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.691e-05/0.8322, allocations: 4 kB / 1.113 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.8322, allocations: 7.984 kB / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.8322, allocations: 9.516 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.762e-05/0.8323, allocations: 75.28 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.715e-06/0.8323, allocations: 0 / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001771/0.8325, allocations: 7.938 kB / 1.113 GB, free: 6.688 MB / 0.7136 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 () * 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.000132/0.8326, allocations: 95.25 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.833, allocations: 47.94 kB / 1.113 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.833, allocations: 0 / 1.113 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.8331, allocations: 31.97 kB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.849e-05/0.8333, allocations: 9.969 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/0.8334, allocations: 50.69 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.8336, allocations: 0.6775 MB / 1.114 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.03e-05/0.8337, allocations: 3.938 kB / 1.114 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.8337, allocations: 15.44 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.8337, allocations: 0 / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of Templates: time 0.002077/0.8358, allocations: 369.4 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)