Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8",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.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.84 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.001276/0.001276, allocations: 188.6 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.723/1.723, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009041/0.0009041, allocations: 96.73 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.944e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 106.4 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7853/0.9977, allocations: 131 MB / 1.013 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/0.9979, allocations: 66.53 kB / 1.013 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006052/0.9985, allocations: 413.3 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9986, allocations: 0 / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.9986, allocations: 4.062 kB / 1.014 GB, free: 5.883 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002498/0.9988, allocations: 314.3 kB / 1.014 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.9989, allocations: 12.09 kB / 1.014 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.9989, allocations: 0 / 1.014 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.999, allocations: 163 kB / 1.014 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.9991, allocations: 0.75 kB / 1.014 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.9991, allocations: 4 kB / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.485e-05/0.9991, allocations: 4 kB / 1.014 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.304e-05/0.9992, allocations: 43.41 kB / 1.014 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.9992, allocations: 3.938 kB / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.9992, allocations: 0 / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.9993, allocations: 0 / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.9994, allocations: 135 kB / 1.014 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.927e-05/0.9995, allocations: 41.16 kB / 1.014 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.9995, allocations: 13.84 kB / 1.014 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.9995, allocations: 7.969 kB / 1.014 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.9996, allocations: 38.38 kB / 1.014 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.9996, allocations: 0 / 1.014 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001355/0.9997, allocations: 40.33 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.9998, allocations: 77.11 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.811e-05/0.9998, allocations: 85 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.9998, allocations: 25.7 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.9999, allocations: 80.14 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.9999, allocations: 7.844 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.9999, allocations: 4 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1, allocations: 318.6 kB / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/1, allocations: 8 kB / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/1, allocations: 13.72 kB / 1.015 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.667e-05/1, allocations: 0 / 1.015 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1, allocations: 0 / 1.015 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.482e-05/1, allocations: 37.66 kB / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1, allocations: 11.98 kB / 1.015 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/1, allocations: 2.375 kB / 1.015 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1, allocations: 4.125 kB / 1.015 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/1, allocations: 7.938 kB / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/1, allocations: 0 / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/1, allocations: 0 / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/1, allocations: 0 / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.277e-05/1, allocations: 108.7 kB / 1.015 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.056e-05/1, allocations: 41.64 kB / 1.015 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-06/1, allocations: 0 / 1.015 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/1.001, allocations: 57.2 kB / 1.015 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.001, allocations: 3.938 kB / 1.015 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.001, allocations: 0 / 1.015 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/1.001, allocations: 4 kB / 1.015 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.41e-05/1.001, allocations: 122.2 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.001, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/1.001, allocations: 4 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/1.001, allocations: 11.88 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/1.001, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.001, allocations: 4 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.001, allocations: 4.812 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.034e-05/1.001, allocations: 74.31 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/1.001, allocations: 85.05 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/1.001, allocations: 0 / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/1.001, allocations: 7.938 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/1.001, allocations: 4.031 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/1.001, allocations: 0.5 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.314e-05/1.001, allocations: 75.28 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/1.001, allocations: 0 / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000183/1.001, allocations: 4 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003592/1.002, allocations: 0.6912 MB / 1.016 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.316e-05/1.002, allocations: 4 kB / 1.016 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.002, allocations: 0 / 1.016 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/1.002, allocations: 7.938 kB / 1.016 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.979e-05/1.002, allocations: 4 kB / 1.016 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/1.002, allocations: 90.61 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/1.002, allocations: 0.6768 MB / 1.017 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.871e-05/1.002, allocations: 0 / 1.017 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/1.002, allocations: 7.438 kB / 1.017 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.002, allocations: 7.938 kB / 1.017 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/1.02, allocations: 463.2 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.02, allocations: 144.1 kB / 1.018 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.524, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)