Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001196/0.001196, allocations: 175.6 kB / 371.8 MB, free: 10.27 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.862/1.862, 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.0009299/0.0009297, allocations: 90.86 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004672, allocations: 10.69 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.701/5.992, allocations: 2.072 GB / 3.052 GB, free: 244.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/5.992, allocations: 89.12 kB / 3.052 GB, free: 244.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3678/6.36, allocations: 170.1 MB / 3.218 GB, free: 71.17 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.523e-06/6.36, allocations: 0 / 3.218 GB, free: 71.17 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001049/6.36, allocations: 15.98 kB / 3.218 GB, free: 71.15 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002748/6.363, allocations: 0.8344 MB / 3.219 GB, free: 70.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.713e-05/6.363, allocations: 12.02 kB / 3.219 GB, free: 70.26 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002118/6.363, allocations: 70.53 kB / 3.219 GB, free: 70.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/6.365, allocations: 143.2 kB / 3.219 GB, free: 70.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/6.366, allocations: 0.5089 MB / 3.219 GB, free: 69.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/6.366, allocations: 20.56 kB / 3.22 GB, free: 69.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/6.366, allocations: 36 kB / 3.22 GB, free: 69.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/6.367, allocations: 311.6 kB / 3.22 GB, free: 69.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/6.367, allocations: 0 / 3.22 GB, free: 69.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/6.367, allocations: 12 kB / 3.22 GB, free: 69.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/6.367, allocations: 12.56 kB / 3.22 GB, free: 69.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/6.368, allocations: 218.1 kB / 3.22 GB, free: 68.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/6.37, allocations: 1.459 MB / 3.221 GB, free: 67.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/6.371, allocations: 226.8 kB / 3.222 GB, free: 67.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/6.371, allocations: 7.984 kB / 3.222 GB, free: 67.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/6.371, allocations: 160.1 kB / 3.222 GB, free: 66.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.274e-06/6.371, allocations: 0 / 3.222 GB, free: 66.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003602/6.375, allocations: 1.178 MB / 3.223 GB, free: 65.63 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/6.375, allocations: 55.41 kB / 3.223 GB, free: 65.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/6.376, allocations: 405.1 kB / 3.223 GB, free: 65.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/6.376, allocations: 33.7 kB / 3.223 GB, free: 65.12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/6.376, allocations: 244.2 kB / 3.224 GB, free: 64.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/6.376, allocations: 102.5 kB / 3.224 GB, free: 64.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/6.376, allocations: 8 kB / 3.224 GB, free: 64.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001372/6.376, allocations: 358.8 kB / 3.224 GB, free: 64.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/6.376, allocations: 140.8 kB / 3.224 GB, free: 64.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/6.377, allocations: 202.2 kB / 3.224 GB, free: 64.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/6.377, allocations: 167.8 kB / 3.225 GB, free: 63.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/6.377, allocations: 4 kB / 3.225 GB, free: 63.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001048/6.378, allocations: 0.5056 MB / 3.225 GB, free: 63.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/6.378, allocations: 8.031 kB / 3.225 GB, free: 63.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/6.378, allocations: 0 / 3.225 GB, free: 63.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/6.379, allocations: 80.8 kB / 3.225 GB, free: 63.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/6.379, allocations: 71.91 kB / 3.225 GB, free: 63.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/6.381, allocations: 1.784 MB / 3.227 GB, free: 61.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/6.382, allocations: 24.02 kB / 3.227 GB, free: 61.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/6.382, allocations: 19.98 kB / 3.227 GB, free: 61.24 MB / 0.948 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.0003177/6.382, allocations: 197.7 kB / 3.227 GB, free: 61.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/6.382, allocations: 51.39 kB / 3.227 GB, free: 60.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/6.383, allocations: 422.8 kB / 3.228 GB, free: 60.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/6.383, allocations: 4 kB / 3.228 GB, free: 60.56 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/6.383, allocations: 4 kB / 3.228 GB, free: 60.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/6.383, allocations: 0 / 3.228 GB, free: 60.55 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/6.385, allocations: 1.027 MB / 3.229 GB, free: 59.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/6.385, allocations: 0 / 3.229 GB, free: 59.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/6.385, allocations: 79.88 kB / 3.229 GB, free: 59.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003508/6.386, allocations: 76.78 kB / 3.229 GB, free: 59.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/6.386, allocations: 8 kB / 3.229 GB, free: 59.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/6.387, allocations: 1.566 MB / 3.23 GB, free: 57.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/6.387, allocations: 3.984 kB / 3.23 GB, free: 57.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/6.388, allocations: 0.6123 MB / 3.231 GB, free: 56.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/6.389, allocations: 152.6 kB / 3.231 GB, free: 56.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/6.389, allocations: 16 kB / 3.231 GB, free: 56.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/6.389, allocations: 23.89 kB / 3.231 GB, free: 56.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/6.389, allocations: 19.92 kB / 3.231 GB, free: 56.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/6.389, allocations: 12 kB / 3.231 GB, free: 56.72 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003779/6.39, allocations: 307.1 kB / 3.232 GB, free: 56.42 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/6.39, allocations: 0 / 3.232 GB, free: 56.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001/6.391, allocations: 191.9 kB / 3.232 GB, free: 56.23 MB / 0.948 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.003715/6.394, allocations: 2.17 MB / 3.234 GB, free: 54.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001108/6.395, allocations: 462.4 kB / 3.234 GB, free: 53.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/6.396, allocations: 4.312 kB / 3.234 GB, free: 53.72 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/6.396, allocations: 262.4 kB / 3.235 GB, free: 53.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/6.397, allocations: 215.6 kB / 3.235 GB, free: 53.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/6.4, allocations: 2.395 MB / 3.237 GB, free: 50.78 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/6.401, allocations: 0.862 MB / 3.238 GB, free: 49.89 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000466/6.401, allocations: 92.3 kB / 3.238 GB, free: 49.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/6.402, allocations: 163.4 kB / 3.238 GB, free: 49.64 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/6.402, allocations: 0 / 3.238 GB, free: 49.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/6.453, allocations: 24.01 MB / 3.262 GB, free: 25.79 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/6.453, allocations: 243.4 kB / 3.262 GB, free: 25.54 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/9.699, allocations: 0 / 3.262 GB, free: 25.54 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)