Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 172.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008212/0.0008213, allocations: 95.38 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.545e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2402, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8126/1.053, allocations: 131.2 MB / 1.013 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/1.053, allocations: 74.77 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002367/1.056, allocations: 0.9435 MB / 1.014 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/1.056, allocations: 0 / 1.014 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.669e-06/1.056, allocations: 0 / 1.014 GB, free: 5.309 MB / 0.6355 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.000283/1.056, allocations: 325.6 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.056, allocations: 8.031 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/1.056, allocations: 10.92 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/1.056, allocations: 163 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/1.056, allocations: 4 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/1.056, allocations: 0 / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.127e-05/1.056, allocations: 8.609 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.044e-05/1.056, allocations: 36.95 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.056, allocations: 3.984 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/1.057, allocations: 0 / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.057, allocations: 0 / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/1.057, allocations: 138.1 kB / 1.015 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.947e-05/1.057, allocations: 41.61 kB / 1.015 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/1.057, allocations: 8.922 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/1.057, allocations: 4 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/1.057, allocations: 30.56 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.057, allocations: 0 / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001416/1.057, allocations: 41.59 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/1.057, allocations: 51.41 kB / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.029e-05/1.057, allocations: 85 kB / 1.015 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/1.057, allocations: 25.7 kB / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/1.057, allocations: 80.14 kB / 1.015 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/1.057, allocations: 15.72 kB / 1.015 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/1.057, allocations: 4 kB / 1.015 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.057, allocations: 310.8 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/1.057, allocations: 4 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-06/1.057, allocations: 0 / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.466e-05/1.057, allocations: 11.42 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.057, allocations: 0 / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.901e-05/1.057, allocations: 50.66 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.058, allocations: 7.984 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.058, allocations: 0.8438 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/1.058, allocations: 4 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/1.058, allocations: 39.94 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009884/1.059, allocations: 1.25 MB / 1.017 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/1.059, allocations: 0.6875 kB / 1.017 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/1.059, allocations: 0 / 1.017 GB, free: 2.309 MB / 0.6355 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.748e-05/1.059, allocations: 109.2 kB / 1.017 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.884e-05/1.059, allocations: 44.89 kB / 1.017 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/1.059, allocations: 240 / 1.017 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.2e-05/1.059, allocations: 15.55 kB / 1.017 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/1.059, allocations: 4 kB / 1.017 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/1.059, allocations: 1.188 kB / 1.017 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.059, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.767e-05/1.059, allocations: 126.2 kB / 1.017 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.059, allocations: 4 kB / 1.017 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/1.06, allocations: 51.86 kB / 1.017 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.06, allocations: 3.953 kB / 1.017 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/1.06, allocations: 0 / 1.017 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008285/1.061, allocations: 1.236 MB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.061, allocations: 4.031 kB / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.302e-05/1.061, allocations: 68.09 kB / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/1.061, allocations: 85.03 kB / 1.019 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-06/1.061, allocations: 7.953 kB / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.715e-05/1.061, allocations: 0 / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/1.061, allocations: 0 / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/1.061, allocations: 0 / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.959e-05/1.061, allocations: 75.28 kB / 1.019 GB, free: 320 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.061, allocations: 4 kB / 1.019 GB, free: 316 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001749/1.061, allocations: 0 / 1.019 GB, free: 316 kB / 0.6355 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.0004292/1.061, allocations: 0.6078 MB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003606/1.062, allocations: 47.88 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.062, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/1.062, allocations: 31.41 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/1.062, allocations: 11.88 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/1.062, allocations: 89 kB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/1.063, allocations: 0.6768 MB / 1.02 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.783e-05/1.063, allocations: 4.281 kB / 1.02 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/1.063, allocations: 11.44 kB / 1.02 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.063, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/1.082, allocations: 0.6947 MB / 1.021 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/1.082, allocations: 168.3 kB / 1.021 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/2.53, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)