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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.827/1.827, allocations: 292.6 MB / 307.5 MB, free: 5.254 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.001084/0.001084, allocations: 181 kB / 377.1 MB, free: 1.562 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.578/1.578, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.0008931/0.0008931, allocations: 98.28 kB / 0.7509 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3098, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8003/1.11, allocations: 138.3 MB / 1.123 GB, free: 36.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.11, allocations: 77.64 kB / 1.124 GB, free: 36.03 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002233/1.113, allocations: 0.9493 MB / 1.124 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.495e-06/1.113, allocations: 1.156 kB / 1.124 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.239e-06/1.113, allocations: 4 kB / 1.124 GB, free: 35.27 MB / 0.7292 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/1.113, allocations: 321 kB / 1.125 GB, free: 34.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/1.113, allocations: 12.02 kB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/1.113, allocations: 38.17 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/1.113, allocations: 14.38 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.227e-05/1.113, allocations: 165.2 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/1.113, allocations: 0 / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/1.113, allocations: 5.906 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/1.113, allocations: 37.73 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.114, allocations: 0 / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/1.114, allocations: 4 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/1.114, allocations: 0 / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/1.114, allocations: 17.8 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/1.114, allocations: 150.4 kB / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/1.114, allocations: 49.88 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/1.114, allocations: 0 / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/1.114, allocations: 31.06 kB / 1.125 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/1.114, allocations: 0 / 1.125 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002098/1.114, allocations: 63.77 kB / 1.125 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/1.114, allocations: 58.91 kB / 1.125 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.934e-05/1.114, allocations: 85 kB / 1.125 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/1.114, allocations: 29.7 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.692e-05/1.114, allocations: 88.06 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/1.114, allocations: 8.594 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/1.114, allocations: 0 / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.7e-05/1.114, allocations: 315.5 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/1.114, allocations: 11.42 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/1.114, allocations: 4 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/1.115, allocations: 12.59 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.115, allocations: 0 / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.319e-05/1.115, allocations: 49.27 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.115, allocations: 8.781 kB / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.115, allocations: 0.5625 kB / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.115, allocations: 0 / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/1.115, allocations: 46.5 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/1.116, allocations: 1.312 MB / 1.127 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/1.116, allocations: 3.906 kB / 1.127 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/1.116, allocations: 0.7812 kB / 1.127 GB, free: 32.16 MB / 0.7292 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 6.546e-05/1.116, allocations: 122.4 kB / 1.127 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/1.116, allocations: 3.953 kB / 1.127 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.201e-05/1.116, allocations: 3.5 kB / 1.127 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/1.116, allocations: 0 / 1.127 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/1.116, allocations: 0 / 1.127 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.116, allocations: 7.469 kB / 1.127 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.295e-05/1.116, allocations: 147 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.116, allocations: 0 / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/1.117, allocations: 52.81 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.117, allocations: 3.953 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/1.117, allocations: 1.219 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008268/1.118, allocations: 1.314 MB / 1.129 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.118, allocations: 1.75 kB / 1.129 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/1.118, allocations: 76.48 kB / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/1.118, allocations: 81.06 kB / 1.129 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/1.118, allocations: 1.25 kB / 1.129 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/1.118, allocations: 0 / 1.129 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/1.118, allocations: 12.47 kB / 1.129 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/1.118, allocations: 0 / 1.129 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.394e-05/1.118, allocations: 75.94 kB / 1.129 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/1.118, allocations: 3.938 kB / 1.129 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002401/1.118, allocations: 8 kB / 1.129 GB, free: 30.11 MB / 0.7292 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.0002984/1.118, allocations: 0.6115 MB / 1.13 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003912/1.119, allocations: 52.25 kB / 1.13 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.119, allocations: 0.5625 kB / 1.13 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/1.119, allocations: 44.5 kB / 1.13 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.5e-05/1.119, allocations: 1.031 kB / 1.13 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/1.12, allocations: 122.3 kB / 1.13 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/1.12, allocations: 0.6764 MB / 1.131 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.666e-05/1.12, allocations: 8 kB / 1.131 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/1.12, allocations: 10.77 kB / 1.131 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/1.12, allocations: 0 / 1.131 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/1.132, allocations: 1.047 MB / 1.132 GB, free: 28 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.133, allocations: 216.7 kB / 1.132 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.817, allocations: 0 / 1.132 GB, free: 27.76 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)