Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.854/2.854, allocations: 287.3 MB / 302.3 MB, free: 8.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.001529/0.001528, allocations: 180.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 98.78 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005158/0.0005158, allocations: 18.62 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2328, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9606/1.193, allocations: 137.1 MB / 1.112 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/1.194, allocations: 72.89 kB / 1.112 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003947/1.198, allocations: 0.9567 MB / 1.113 GB, free: 31.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.305e-06/1.198, allocations: 0 / 1.113 GB, free: 31.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.198, allocations: 0 / 1.113 GB, free: 31.49 MB / 0.698 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.0003326/1.198, allocations: 325.1 kB / 1.114 GB, free: 31.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.198, allocations: 11.7 kB / 1.114 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/1.198, allocations: 30.56 kB / 1.114 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/1.198, allocations: 8.344 kB / 1.114 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/1.199, allocations: 164.1 kB / 1.114 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/1.199, allocations: 7.281 kB / 1.114 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/1.199, allocations: 0 / 1.114 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/1.199, allocations: 39.03 kB / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.199, allocations: 0 / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/1.199, allocations: 3.969 kB / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/1.199, allocations: 0 / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/1.199, allocations: 19.28 kB / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/1.199, allocations: 159.6 kB / 1.114 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/1.199, allocations: 46.2 kB / 1.114 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/1.199, allocations: 0 / 1.114 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.199, allocations: 33.88 kB / 1.114 GB, free: 30.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/1.199, allocations: 0 / 1.114 GB, free: 30.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002878/1.2, allocations: 56.14 kB / 1.114 GB, free: 30.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.2, allocations: 54.66 kB / 1.114 GB, free: 30.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.158e-05/1.2, allocations: 88.91 kB / 1.114 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/1.2, allocations: 31.11 kB / 1.114 GB, free: 30.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/1.2, allocations: 84.08 kB / 1.114 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/1.2, allocations: 12.5 kB / 1.114 GB, free: 30.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.2, allocations: 0 / 1.114 GB, free: 30.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.2, allocations: 316.2 kB / 1.115 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/1.2, allocations: 5.5 kB / 1.115 GB, free: 29.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/1.2, allocations: 5.156 kB / 1.115 GB, free: 29.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.571e-05/1.2, allocations: 9.25 kB / 1.115 GB, free: 29.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.2, allocations: 7.188 kB / 1.115 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001738/1.2, allocations: 53.58 kB / 1.115 GB, free: 29.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.201, allocations: 5.297 kB / 1.115 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/1.201, allocations: 48 / 1.115 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.201, allocations: 7.859 kB / 1.115 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/1.201, allocations: 37.59 kB / 1.115 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/1.203, allocations: 1.313 MB / 1.116 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/1.203, allocations: 5.125 kB / 1.116 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/1.203, allocations: 4.719 kB / 1.116 GB, free: 28.59 MB / 0.698 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 0.0001078/1.203, allocations: 114.8 kB / 1.116 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/1.203, allocations: 1.359 kB / 1.116 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/1.203, allocations: 14.47 kB / 1.116 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.203, allocations: 0 / 1.116 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/1.203, allocations: 0 / 1.116 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.203, allocations: 1.5 kB / 1.116 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/1.204, allocations: 147.2 kB / 1.116 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.204, allocations: 3.953 kB / 1.116 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/1.204, allocations: 52.95 kB / 1.116 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.204, allocations: 0 / 1.116 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/1.204, allocations: 1.125 kB / 1.116 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/1.206, allocations: 1.313 MB / 1.118 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.206, allocations: 0 / 1.118 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/1.206, allocations: 82.02 kB / 1.118 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/1.206, allocations: 86.58 kB / 1.118 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/1.206, allocations: 0 / 1.118 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/1.206, allocations: 3.938 kB / 1.118 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/1.206, allocations: 4.828 kB / 1.118 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/1.206, allocations: 5.188 kB / 1.118 GB, free: 26.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.807e-05/1.206, allocations: 75.28 kB / 1.118 GB, free: 26.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/1.206, allocations: 3.938 kB / 1.118 GB, free: 26.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002473/1.207, allocations: 7.844 kB / 1.118 GB, free: 26.68 MB / 0.698 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.0005591/1.207, allocations: 0.6035 MB / 1.119 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007125/1.208, allocations: 60.88 kB / 1.119 GB, free: 26.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.208, allocations: 0 / 1.119 GB, free: 26.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/1.208, allocations: 30.06 kB / 1.119 GB, free: 26.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/1.208, allocations: 6.219 kB / 1.119 GB, free: 26.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/1.209, allocations: 122.8 kB / 1.119 GB, free: 25.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/1.209, allocations: 0.6762 MB / 1.119 GB, free: 25.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.131e-05/1.209, allocations: 3.344 kB / 1.119 GB, free: 25.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/1.209, allocations: 8.797 kB / 1.119 GB, free: 25.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.209, allocations: 0 / 1.119 GB, free: 25.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/1.23, allocations: 1.061 MB / 1.12 GB, free: 25.06 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/1.23, allocations: 223.7 kB / 1.121 GB, free: 24.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.569, allocations: 0 / 1.121 GB, free: 24.82 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)