Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.812/1.812, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001164/0.001164, allocations: 185 kB / 371.8 MB, free: 10.25 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.691/1.691, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001001/0.001001, allocations: 106.8 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 17.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2935, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.983/1.277, allocations: 137.3 MB / 1.114 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/1.277, allocations: 70.67 kB / 1.114 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003285/1.28, allocations: 0.9488 MB / 1.115 GB, free: 32.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.16e-06/1.28, allocations: 3.062 kB / 1.115 GB, free: 32.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.28, allocations: 7.844 kB / 1.115 GB, free: 32.17 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.0003618/1.281, allocations: 317.2 kB / 1.115 GB, free: 31.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.281, allocations: 11.8 kB / 1.115 GB, free: 31.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/1.281, allocations: 35.16 kB / 1.115 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/1.281, allocations: 10.08 kB / 1.115 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/1.281, allocations: 167 kB / 1.115 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/1.281, allocations: 2.562 kB / 1.115 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/1.281, allocations: 3.812 kB / 1.115 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/1.281, allocations: 36.34 kB / 1.115 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.281, allocations: 0.5 kB / 1.115 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/1.281, allocations: 0 / 1.115 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/1.281, allocations: 0 / 1.115 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/1.282, allocations: 17.28 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/1.282, allocations: 164 kB / 1.115 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/1.282, allocations: 39.45 kB / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/1.282, allocations: 3.938 kB / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.282, allocations: 32.81 kB / 1.115 GB, free: 31.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/1.282, allocations: 3.938 kB / 1.115 GB, free: 31.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002547/1.282, allocations: 58.53 kB / 1.115 GB, free: 31.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/1.282, allocations: 62.28 kB / 1.115 GB, free: 31.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.528e-05/1.282, allocations: 85 kB / 1.116 GB, free: 31.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/1.282, allocations: 25.7 kB / 1.116 GB, free: 31.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/1.282, allocations: 80.14 kB / 1.116 GB, free: 30.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/1.283, allocations: 12.5 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/1.283, allocations: 0 / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.283, allocations: 313.6 kB / 1.116 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/1.283, allocations: 10.98 kB / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/1.283, allocations: 8.141 kB / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/1.283, allocations: 10.3 kB / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.283, allocations: 0 / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001335/1.283, allocations: 54.67 kB / 1.116 GB, free: 30.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.283, allocations: 7.812 kB / 1.116 GB, free: 30.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.283, allocations: 0 / 1.116 GB, free: 30.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/1.283, allocations: 0 / 1.116 GB, free: 30.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/1.283, allocations: 44.89 kB / 1.116 GB, free: 30.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/1.285, allocations: 1.309 MB / 1.117 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/1.285, allocations: 7.719 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/1.285, allocations: 4.219 kB / 1.117 GB, free: 29.27 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 9.97e-05/1.285, allocations: 105.8 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/1.285, allocations: 7.828 kB / 1.118 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/1.285, allocations: 9.828 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.285, allocations: 0 / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/1.285, allocations: 0 / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.285, allocations: 3.938 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/1.285, allocations: 151.9 kB / 1.118 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.285, allocations: 0 / 1.118 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/1.286, allocations: 49.28 kB / 1.118 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.286, allocations: 3.953 kB / 1.118 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/1.286, allocations: 0 / 1.118 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.287, allocations: 1.32 MB / 1.119 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.287, allocations: 0 / 1.119 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/1.287, allocations: 67.73 kB / 1.119 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/1.287, allocations: 87.98 kB / 1.119 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/1.287, allocations: 6.562 kB / 1.119 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.706e-05/1.287, allocations: 0 / 1.119 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/1.287, allocations: 8.031 kB / 1.119 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/1.287, allocations: 3.906 kB / 1.119 GB, free: 27.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.743e-05/1.287, allocations: 78.33 kB / 1.119 GB, free: 27.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.287, allocations: 0 / 1.119 GB, free: 27.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001958/1.288, allocations: 3.844 kB / 1.119 GB, free: 27.37 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.000572/1.288, allocations: 0.6146 MB / 1.12 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004261/1.289, allocations: 55.3 kB / 1.12 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.289, allocations: 3.844 kB / 1.12 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/1.289, allocations: 32.47 kB / 1.12 GB, free: 26.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/1.289, allocations: 4.359 kB / 1.12 GB, free: 26.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/1.29, allocations: 118.6 kB / 1.12 GB, free: 26.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/1.29, allocations: 0.6783 MB / 1.121 GB, free: 25.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.501e-05/1.29, allocations: 4 kB / 1.121 GB, free: 25.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/1.29, allocations: 14.59 kB / 1.121 GB, free: 25.91 MB / 0.698 GB Notification: Performance of SimCode: time 6.92e-07/1.29, allocations: 0 / 1.121 GB, free: 25.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/1.306, allocations: 1.076 MB / 1.122 GB, free: 25.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/1.306, allocations: 225.5 kB / 1.122 GB, free: 25.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.928, allocations: 0 / 1.122 GB, free: 25.51 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)