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.706/2.706, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001465/0.001465, allocations: 184.8 kB / 360.6 MB, free: 7.277 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.149/2.149, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001085/0.001084, allocations: 90.33 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.975e-05, allocations: 8 kB / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8276, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2413/1.069, allocations: 136.4 MB / 1.097 GB, free: 4.051 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/1.069, allocations: 77.16 kB / 1.097 GB, free: 3.977 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003607/1.073, allocations: 0.9452 MB / 1.098 GB, free: 3.051 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/1.073, allocations: 3.938 kB / 1.098 GB, free: 3.047 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.36e-06/1.073, allocations: 0.5 kB / 1.098 GB, free: 3.047 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.0003015/1.073, allocations: 315.3 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.073, allocations: 12.02 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/1.074, allocations: 12.19 kB / 1.098 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/1.074, allocations: 167.6 kB / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/1.074, allocations: 4 kB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/1.074, allocations: 0.5938 kB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.008e-05/1.074, allocations: 4.562 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.682e-05/1.074, allocations: 34.47 kB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.074, allocations: 0 / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/1.074, allocations: 0.5312 kB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/1.074, allocations: 0 / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/1.074, allocations: 143.1 kB / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/1.074, allocations: 38.97 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/1.074, allocations: 8.859 kB / 1.098 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/1.074, allocations: 3.562 kB / 1.098 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/1.075, allocations: 34.56 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/1.075, allocations: 0 / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001521/1.075, allocations: 37.78 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/1.075, allocations: 51.41 kB / 1.098 GB, free: 2.051 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.716e-05/1.075, allocations: 88.94 kB / 1.099 GB, free: 1.957 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/1.075, allocations: 25.7 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/1.075, allocations: 84.61 kB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/1.075, allocations: 23.2 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/1.075, allocations: 0 / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.075, allocations: 312.3 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/1.075, allocations: 4 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/1.075, allocations: 4 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/1.075, allocations: 4.531 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.075, allocations: 0.6562 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.804e-05/1.075, allocations: 50.33 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.075, allocations: 5.094 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.075, allocations: 0.5938 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.075, allocations: 0 / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/1.076, allocations: 46.61 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/1.077, allocations: 1.242 MB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/1.077, allocations: 1.625 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/1.077, allocations: 3.984 kB / 1.1 GB, free: 48 kB / 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 () * 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.000132/1.078, allocations: 111.3 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.386e-05/1.078, allocations: 42.25 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/1.078, allocations: 3.984 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/1.078, allocations: 4.938 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.078, allocations: 4 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/1.078, allocations: 0.5938 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/1.078, allocations: 0.9062 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/1.078, allocations: 126.2 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.078, allocations: 7.938 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/1.079, allocations: 47.33 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.079, allocations: 3.953 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/1.079, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.08, allocations: 1.245 MB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.08, allocations: 4.031 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/1.08, allocations: 68.97 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/1.08, allocations: 78.42 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/1.08, allocations: 7.953 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/1.08, allocations: 3.984 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/1.08, allocations: 96 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/1.08, allocations: 4 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.364e-05/1.08, allocations: 79.22 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.08, allocations: 4 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002708/1.081, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 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.000443/1.081, allocations: 0.5949 MB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006273/1.082, allocations: 55.88 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.082, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003028/1.082, allocations: 23.97 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/1.082, allocations: 21.58 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/1.083, allocations: 76.12 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/1.083, allocations: 0.6768 MB / 1.103 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.213e-05/1.083, allocations: 0 / 1.103 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/1.083, allocations: 15.42 kB / 1.103 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of SimCode: time 7.02e-07/1.083, allocations: 0 / 1.103 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/1.118, allocations: 0.6897 MB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/1.118, allocations: 156.2 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.364, allocations: 0.8438 kB / 1.104 GB, free: 11.63 MB / 0.7136 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)