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.907/1.907, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.00138/0.00138, allocations: 172.9 kB / 361.4 MB, free: 6.863 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.479/1.479, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008829/0.0008829, allocations: 95.86 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.157e-05, allocations: 11.98 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8189, allocations: 115.3 MB / 0.9645 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/1.046, allocations: 136.6 MB / 1.098 GB, free: 3.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/1.047, allocations: 72.84 kB / 1.098 GB, free: 3.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002703/1.05, allocations: 0.9525 MB / 1.099 GB, free: 2.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/1.05, allocations: 0.6875 kB / 1.099 GB, free: 2.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.05, allocations: 0 / 1.099 GB, free: 2.25 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.0003785/1.05, allocations: 319.2 kB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/1.05, allocations: 8.031 kB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/1.05, allocations: 11.95 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/1.051, allocations: 163.6 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/1.051, allocations: 5.75 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/1.051, allocations: 0 / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.043e-05/1.051, allocations: 11.98 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.522e-05/1.051, allocations: 33.69 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.051, allocations: 5.688 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.051, allocations: 0 / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.051, allocations: 0.5938 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/1.051, allocations: 135 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/1.051, allocations: 39.69 kB / 1.1 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/1.051, allocations: 6.609 kB / 1.1 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/1.051, allocations: 4 kB / 1.1 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/1.051, allocations: 30.56 kB / 1.1 GB, free: 1.359 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.983e-06/1.051, allocations: 0.5938 kB / 1.1 GB, free: 1.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001901/1.052, allocations: 46.28 kB / 1.1 GB, free: 1.309 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.052, allocations: 52.03 kB / 1.1 GB, free: 1.246 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/1.052, allocations: 86.31 kB / 1.1 GB, free: 1.156 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/1.052, allocations: 29.64 kB / 1.1 GB, free: 1.121 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/1.052, allocations: 80.14 kB / 1.1 GB, free: 1.039 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/1.052, allocations: 16.56 kB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.052, allocations: 0 / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.052, allocations: 311.5 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/1.052, allocations: 4.688 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/1.052, allocations: 1.875 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/1.052, allocations: 12.92 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.052, allocations: 0.5625 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.556e-05/1.052, allocations: 38.41 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.052, allocations: 11.95 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.052, allocations: 0.6562 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.052, allocations: 0 / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/1.053, allocations: 42.16 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/1.054, allocations: 1.248 MB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/1.054, allocations: 3.406 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/1.054, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 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 9.897e-05/1.054, allocations: 105 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.055e-05/1.055, allocations: 42.25 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/1.055, allocations: 8.734 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/1.055, allocations: 4.125 kB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/1.055, allocations: 7.938 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/1.055, allocations: 0 / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.055, allocations: 0 / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/1.055, allocations: 131.4 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.055, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/1.055, allocations: 49.7 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.055, allocations: 4 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/1.055, allocations: 3.953 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/1.057, allocations: 1.242 MB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.057, allocations: 0 / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/1.057, allocations: 77 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/1.057, allocations: 77.11 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/1.057, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/1.057, allocations: 7.953 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/1.057, allocations: 4.094 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/1.057, allocations: 7.922 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.666e-05/1.057, allocations: 75.28 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/1.057, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000298/1.057, allocations: 4 kB / 1.103 GB, free: 13.22 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.0005356/1.058, allocations: 0.6045 MB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004845/1.058, allocations: 47.88 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.058, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/1.059, allocations: 31.97 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/1.059, allocations: 7.891 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/1.059, allocations: 80.12 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/1.06, allocations: 0.6768 MB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.156e-05/1.06, allocations: 1.219 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/1.06, allocations: 11.44 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/1.06, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/1.082, allocations: 0.6962 MB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003352/1.082, allocations: 158.8 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.641, allocations: 0 / 1.106 GB, free: 10.83 MB / 0.7136 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)