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.716/1.716, allocations: 289.7 MB / 302.2 MB, free: 2.07 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.00119/0.00119, allocations: 183.8 kB / 371.6 MB, free: 3.434 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.948/1.948, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009636/0.0009635, allocations: 92.11 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.388e-05/5.406e-05, allocations: 8 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3139, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9294/1.243, allocations: 138.2 MB / 1.115 GB, free: 45.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/1.244, allocations: 75.14 kB / 1.115 GB, free: 45.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002411/1.246, allocations: 0.9453 MB / 1.116 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.054e-06/1.246, allocations: 0.6562 kB / 1.116 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.556e-05/1.246, allocations: 0.5625 kB / 1.116 GB, free: 44.51 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.000405/1.247, allocations: 320.1 kB / 1.116 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 8.772e-05/1.247, allocations: 12.62 kB / 1.116 GB, free: 44.15 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/1.247, allocations: 31.16 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/1.247, allocations: 10.67 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/1.247, allocations: 164.1 kB / 1.116 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/1.247, allocations: 7.891 kB / 1.116 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/1.247, allocations: 4.656 kB / 1.116 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/1.247, allocations: 33.86 kB / 1.116 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.247, allocations: 0.5 kB / 1.116 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.247, allocations: 0.5 kB / 1.116 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/1.247, allocations: 0 / 1.116 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/1.247, allocations: 15.77 kB / 1.116 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/1.248, allocations: 157.9 kB / 1.117 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/1.248, allocations: 35.05 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/1.248, allocations: 14.33 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/1.248, allocations: 0 / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.248, allocations: 31.72 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.734e-06/1.248, allocations: 4 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001564/1.248, allocations: 48.14 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/1.248, allocations: 51.41 kB / 1.117 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.67e-05/1.248, allocations: 89.03 kB / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/1.248, allocations: 28.95 kB / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.651e-05/1.248, allocations: 80.14 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/1.248, allocations: 18.89 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/1.248, allocations: 0 / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.19e-05/1.248, allocations: 310.8 kB / 1.117 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/1.248, allocations: 7.281 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/1.248, allocations: 7.875 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/1.248, allocations: 6.797 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.248, allocations: 0 / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.008e-05/1.249, allocations: 53.14 kB / 1.117 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.249, allocations: 6.953 kB / 1.117 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.249, allocations: 4.562 kB / 1.117 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.249, allocations: 0 / 1.117 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/1.249, allocations: 42.23 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008505/1.25, allocations: 1.287 MB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/1.25, allocations: 7.156 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/1.25, allocations: 0 / 1.119 GB, free: 41.48 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 (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.013e-05/1.25, allocations: 107.2 kB / 1.119 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/1.25, allocations: 5.906 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.144e-05/1.25, allocations: 7.375 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.25, allocations: 96 / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/1.25, allocations: 4 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.25, allocations: 0 / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.93e-05/1.25, allocations: 150.6 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.25, allocations: 0 / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/1.251, allocations: 52.67 kB / 1.119 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.251, allocations: 4.703 kB / 1.119 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/1.251, allocations: 0 / 1.119 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007505/1.251, allocations: 1.29 MB / 1.12 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.251, allocations: 1.125 kB / 1.12 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.647e-05/1.251, allocations: 63.64 kB / 1.12 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/1.251, allocations: 88.88 kB / 1.12 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-06/1.251, allocations: 0 / 1.12 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.871e-05/1.251, allocations: 3.828 kB / 1.12 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/1.251, allocations: 4.094 kB / 1.12 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/1.251, allocations: 4 kB / 1.12 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.846e-05/1.252, allocations: 79.22 kB / 1.12 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/1.252, allocations: 3.828 kB / 1.12 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001744/1.252, allocations: 4 kB / 1.12 GB, free: 39.49 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 (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.0002798/1.252, allocations: 0.61 MB / 1.121 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003544/1.252, allocations: 48.5 kB / 1.121 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.252, allocations: 0 / 1.121 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/1.253, allocations: 34.83 kB / 1.121 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.981e-05/1.253, allocations: 3.453 kB / 1.121 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/1.253, allocations: 82.19 kB / 1.121 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/1.253, allocations: 0.6772 MB / 1.122 GB, free: 38 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.619e-05/1.253, allocations: 4.75 kB / 1.122 GB, free: 38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/1.253, allocations: 11 kB / 1.122 GB, free: 38 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.253, allocations: 0 / 1.122 GB, free: 38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2067/1.46, allocations: 1.054 MB / 1.123 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/1.46, allocations: 197.3 kB / 1.123 GB, free: 37.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/3.143, allocations: 4 kB / 1.123 GB, free: 37.21 MB / 0.7448 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)