Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",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.54/1.54, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 185.2 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.21/2.21, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.001258/0.001258, allocations: 105.3 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 8.625 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.846/7.123, allocations: 2.19 GB / 3.091 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004086/7.123, allocations: 93.33 kB / 3.091 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3844/7.507, allocations: 167.6 MB / 3.254 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.723e-06/7.508, allocations: 4 kB / 3.254 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.796e-05/7.508, allocations: 12 kB / 3.254 GB, free: 166.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002542/7.51, allocations: 0.8145 MB / 3.255 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/7.51, allocations: 16.03 kB / 3.255 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/7.511, allocations: 66.47 kB / 3.255 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/7.512, allocations: 151.2 kB / 3.255 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/7.513, allocations: 0.4973 MB / 3.256 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/7.513, allocations: 24.66 kB / 3.256 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/7.513, allocations: 28 kB / 3.256 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/7.514, allocations: 328.8 kB / 3.256 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/7.514, allocations: 4 kB / 3.256 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/7.514, allocations: 12 kB / 3.256 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/7.514, allocations: 8.562 kB / 3.256 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/7.515, allocations: 222 kB / 3.257 GB, free: 164 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/7.517, allocations: 1.459 MB / 3.258 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/7.517, allocations: 231.1 kB / 3.258 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/7.517, allocations: 0 / 3.258 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/7.518, allocations: 163.8 kB / 3.258 GB, free: 162 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 4.699e-06/7.518, allocations: 4 kB / 3.258 GB, free: 162 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.003217/7.521, allocations: 1.162 MB / 3.259 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/7.521, allocations: 55.41 kB / 3.26 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/7.522, allocations: 409.1 kB / 3.26 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/7.522, allocations: 29.7 kB / 3.26 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/7.522, allocations: 236.2 kB / 3.26 GB, free: 160 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/7.522, allocations: 114.5 kB / 3.26 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/7.522, allocations: 4 kB / 3.26 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001393/7.522, allocations: 358.8 kB / 3.261 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/7.522, allocations: 140.8 kB / 3.261 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/7.523, allocations: 194.3 kB / 3.261 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/7.523, allocations: 171.6 kB / 3.261 GB, free: 159 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/7.523, allocations: 3.953 kB / 3.261 GB, free: 159 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001006/7.524, allocations: 0.5012 MB / 3.262 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/7.524, allocations: 4 kB / 3.262 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/7.524, allocations: 0 / 3.262 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/7.525, allocations: 80.8 kB / 3.262 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/7.525, allocations: 71.91 kB / 3.262 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/7.527, allocations: 1.788 MB / 3.263 GB, free: 156.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/7.527, allocations: 24.09 kB / 3.263 GB, free: 156.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/7.527, allocations: 23.92 kB / 3.264 GB, free: 156.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000293/7.528, allocations: 193.7 kB / 3.264 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/7.528, allocations: 51.39 kB / 3.264 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008736/7.529, allocations: 418.8 kB / 3.264 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/7.529, allocations: 4 kB / 3.264 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/7.529, allocations: 0 / 3.264 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/7.529, allocations: 8.062 kB / 3.264 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/7.53, allocations: 1.028 MB / 3.265 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/7.53, allocations: 3.938 kB / 3.265 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/7.531, allocations: 75.89 kB / 3.265 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/7.531, allocations: 72.7 kB / 3.265 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/7.531, allocations: 15.98 kB / 3.265 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/7.533, allocations: 1.57 MB / 3.267 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/7.533, allocations: 0 / 3.267 GB, free: 152.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/7.534, allocations: 0.6084 MB / 3.267 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/7.534, allocations: 152.5 kB / 3.268 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/7.534, allocations: 12 kB / 3.268 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/7.534, allocations: 31.84 kB / 3.268 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/7.534, allocations: 23.97 kB / 3.268 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/7.534, allocations: 11.98 kB / 3.268 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003819/7.535, allocations: 307.1 kB / 3.268 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/7.535, allocations: 0 / 3.268 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001004/7.536, allocations: 183.9 kB / 3.268 GB, free: 151.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003577/7.539, allocations: 2.146 MB / 3.27 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001096/7.541, allocations: 458.8 kB / 3.271 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/7.541, allocations: 0 / 3.271 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003172/7.541, allocations: 262.5 kB / 3.271 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/7.542, allocations: 220 kB / 3.271 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/7.546, allocations: 2.395 MB / 3.273 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007084/7.547, allocations: 0.862 MB / 3.274 GB, free: 145 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005493/7.548, allocations: 92.31 kB / 3.274 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/7.548, allocations: 159.3 kB / 3.275 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/7.548, allocations: 3.938 kB / 3.275 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05376/7.602, allocations: 23.94 MB / 3.298 GB, free: 121 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/7.602, allocations: 243.5 kB / 3.298 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/10.85, allocations: 0 / 3.298 GB, free: 120.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)