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.868/1.868, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001586/0.001586, allocations: 184.2 kB / 377.1 MB, free: 1.535 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.864/1.864, allocations: 205.4 MB / 0.6366 GB, free: 9.578 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.0008808/0.000881, allocations: 87.88 kB / 0.7509 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 12 kB / 0.8748 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3354, allocations: 116.3 MB / 0.9884 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.704/1.039, allocations: 138.9 MB / 1.124 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/1.04, allocations: 70.97 kB / 1.124 GB, free: 35.69 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001962/1.042, allocations: 0.7754 MB / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.734e-06/1.042, allocations: 0 / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.042, allocations: 0 / 1.125 GB, free: 35.07 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.0003384/1.042, allocations: 352.6 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.042, allocations: 16.02 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/1.042, allocations: 34.5 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/1.042, allocations: 18.12 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/1.043, allocations: 171.2 kB / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/1.043, allocations: 0 / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/1.043, allocations: 2.016 kB / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/1.043, allocations: 74.22 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.043, allocations: 0 / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/1.043, allocations: 0 / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/1.043, allocations: 1.719 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/1.043, allocations: 62.53 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/1.043, allocations: 288 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/1.044, allocations: 57.56 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/1.044, allocations: 0 / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/1.044, allocations: 34.56 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.044, allocations: 0 / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000429/1.044, allocations: 131.5 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/1.044, allocations: 55.53 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/1.044, allocations: 105.2 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/1.044, allocations: 25.7 kB / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/1.044, allocations: 84.14 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/1.044, allocations: 3.906 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/1.044, allocations: 0.75 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/1.044, allocations: 318.8 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/1.045, allocations: 35.03 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/1.045, allocations: 30.98 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/1.045, allocations: 35.14 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.045, allocations: 0 / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002405/1.045, allocations: 99.7 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.045, allocations: 4 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/1.045, allocations: 0.8438 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.045, allocations: 1.078 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.045, allocations: 16.05 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/1.045, allocations: 0 / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/1.045, allocations: 11.42 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/1.045, allocations: 4.031 kB / 1.127 GB, free: 32.98 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 (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.421e-05/1.045, allocations: 117.8 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/1.045, allocations: 3.516 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/1.045, allocations: 3.531 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.045, allocations: 5.25 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.045, allocations: 0 / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.045, allocations: 0 / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/1.046, allocations: 168.5 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.046, allocations: 4 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.461e-05/1.046, allocations: 16.08 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.046, allocations: 4.078 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/1.046, allocations: 0 / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.046, allocations: 4.562 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.046, allocations: 0.5156 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/1.046, allocations: 192.9 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/1.046, allocations: 77.11 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/1.046, allocations: 0 / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/1.046, allocations: 16.91 kB / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/1.046, allocations: 9.438 kB / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/1.046, allocations: 0 / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.067e-05/1.046, allocations: 83.97 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.046, allocations: 0 / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002187/1.047, allocations: 4 kB / 1.128 GB, free: 32.23 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 (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.0004814/1.047, allocations: 0.7321 MB / 1.128 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002566/1.047, allocations: 74.34 kB / 1.128 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.047, allocations: 4 kB / 1.128 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/1.047, allocations: 35.14 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/1.048, allocations: 0.6562 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/1.048, allocations: 162.1 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/1.048, allocations: 0.6764 MB / 1.129 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.565e-05/1.048, allocations: 4 kB / 1.129 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/1.048, allocations: 11.44 kB / 1.129 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/1.048, allocations: 0.6562 kB / 1.129 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/1.062, allocations: 1.168 MB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/1.062, allocations: 175.8 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.665, allocations: 0 / 1.131 GB, free: 29.66 MB / 0.7292 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)