Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.745/1.745, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001436/0.001436, allocations: 183.5 kB / 371.6 MB, free: 3.367 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.591/1.591, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009447/0.0009445, allocations: 92.97 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.685e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2998, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.37, allocations: 138.8 MB / 1.115 GB, free: 44.78 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/1.371, allocations: 73.27 kB / 1.116 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002248/1.373, allocations: 0.7708 MB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.305e-06/1.373, allocations: 0 / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.373, allocations: 0.6875 kB / 1.116 GB, free: 44.19 MB / 0.7448 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.0003889/1.373, allocations: 334.9 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/1.373, allocations: 13 kB / 1.117 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/1.374, allocations: 33.98 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/1.374, allocations: 20.02 kB / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/1.374, allocations: 164.7 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/1.374, allocations: 4.797 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/1.374, allocations: 5.531 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/1.374, allocations: 40.23 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.374, allocations: 0 / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.374, allocations: 0 / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.374, allocations: 9.203 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/1.374, allocations: 18.19 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/1.375, allocations: 275.9 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/1.375, allocations: 32.2 kB / 1.117 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/1.375, allocations: 15.92 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/1.375, allocations: 4 kB / 1.117 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/1.375, allocations: 30.56 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/1.375, allocations: 4.266 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001688/1.375, allocations: 48.28 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.375, allocations: 55.44 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/1.375, allocations: 98.38 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/1.375, allocations: 25.7 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/1.375, allocations: 84.67 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/1.375, allocations: 11.31 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/1.375, allocations: 0 / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/1.375, allocations: 318.8 kB / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/1.375, allocations: 7.625 kB / 1.118 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.834e-05/1.375, allocations: 15.69 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/1.375, allocations: 7.5 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.375, allocations: 0 / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.742e-05/1.375, allocations: 52.14 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.376, allocations: 9.406 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.376, allocations: 0.5625 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.376, allocations: 0 / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/1.376, allocations: 19.52 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.376, allocations: 0.75 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/1.376, allocations: 12.11 kB / 1.118 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/1.376, allocations: 0 / 1.118 GB, free: 42.4 MB / 0.7448 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 6.084e-05/1.376, allocations: 104.9 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/1.376, allocations: 4 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/1.376, allocations: 7.734 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.376, allocations: 3.422 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.376, allocations: 4 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.376, allocations: 0.5625 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/1.376, allocations: 171.6 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.376, allocations: 0 / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/1.376, allocations: 15.47 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.376, allocations: 0 / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.376, allocations: 3.469 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/1.376, allocations: 0.8438 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.376, allocations: 0.75 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/1.376, allocations: 152.8 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/1.376, allocations: 81.02 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/1.376, allocations: 4.016 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/1.377, allocations: 11.31 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/1.377, allocations: 7.516 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/1.377, allocations: 4.781 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.207e-05/1.377, allocations: 83.47 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.377, allocations: 0.9375 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001858/1.377, allocations: 4 kB / 1.119 GB, free: 41.71 MB / 0.7448 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.0003097/1.377, allocations: 0.68 MB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.785e-05/1.377, allocations: 21.97 kB / 1.119 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.377, allocations: 0 / 1.119 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/1.377, allocations: 18.39 kB / 1.119 GB, free: 41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/1.377, allocations: 0 / 1.119 GB, free: 41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/1.378, allocations: 102.3 kB / 1.119 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/1.378, allocations: 0.6849 MB / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.287e-05/1.378, allocations: 5.156 kB / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/1.378, allocations: 7.438 kB / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/1.378, allocations: 0 / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/1.396, allocations: 1.165 MB / 1.121 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.397, allocations: 155.7 kB / 1.121 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.982, allocations: 7.938 kB / 1.121 GB, free: 39.34 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)