Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 182.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 90.45 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.725e-05/4.764e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2753, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7591/1.034, allocations: 131.6 MB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/1.035, allocations: 71.02 kB / 1.02 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002138/1.037, allocations: 0.7726 MB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.333e-06/1.037, allocations: 0 / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.702e-06/1.037, allocations: 0 / 1.021 GB, free: 2.402 MB / 0.6355 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.0003769/1.037, allocations: 335.6 kB / 1.022 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.037, allocations: 12.03 kB / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/1.037, allocations: 37.42 kB / 1.022 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/1.038, allocations: 15.98 kB / 1.022 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/1.038, allocations: 170.9 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/1.038, allocations: 4 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/1.038, allocations: 3.938 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/1.038, allocations: 45.31 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/1.038, allocations: 0 / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/1.038, allocations: 4 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.038, allocations: 0 / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/1.038, allocations: 11.31 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/1.038, allocations: 278.8 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/1.038, allocations: 37.83 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/1.038, allocations: 19.22 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/1.039, allocations: 3.984 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/1.039, allocations: 30.56 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.039, allocations: 0 / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/1.039, allocations: 45.27 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/1.039, allocations: 51.41 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/1.039, allocations: 103.8 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.039, allocations: 29.73 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/1.039, allocations: 87.02 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/1.039, allocations: 7.844 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/1.039, allocations: 0 / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.039, allocations: 322 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/1.039, allocations: 7.125 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/1.039, allocations: 7.25 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/1.039, allocations: 11.44 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/1.039, allocations: 4.062 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.471e-05/1.039, allocations: 41.14 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.039, allocations: 5.094 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.039, allocations: 0 / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/1.039, allocations: 0 / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/1.039, allocations: 16.86 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.039, allocations: 0 / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/1.039, allocations: 23.39 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/1.039, allocations: 0 / 1.023 GB, free: 0.5234 MB / 0.6355 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 (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.464e-05/1.04, allocations: 108.9 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/1.04, allocations: 7.844 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/1.04, allocations: 11.59 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.04, allocations: 4 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.04, allocations: 3.984 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.04, allocations: 3.438 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/1.04, allocations: 164.9 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.04, allocations: 4 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/1.04, allocations: 15.98 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.04, allocations: 0 / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/1.04, allocations: 3.938 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.04, allocations: 4 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.04, allocations: 0 / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/1.04, allocations: 152.2 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/1.04, allocations: 81.02 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/1.04, allocations: 7.938 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/1.04, allocations: 11.98 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/1.04, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/1.04, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.652e-05/1.04, allocations: 82.72 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.04, allocations: 4 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001895/1.041, allocations: 8.031 kB / 1.024 GB, free: 15.79 MB / 0.6511 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 (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.000379/1.041, allocations: 0.6721 MB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.069e-05/1.041, allocations: 26.67 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.041, allocations: 4 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/1.041, allocations: 11.03 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/1.041, allocations: 4 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/1.042, allocations: 109.9 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/1.042, allocations: 0.677 MB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.288e-05/1.042, allocations: 4.062 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/1.042, allocations: 11.44 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/1.042, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/1.053, allocations: 1.177 MB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.053, allocations: 172.7 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.593, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)