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.494/1.494, allocations: 249.3 MB / 261.8 MB, free: 5.836 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.001262/0.001262, allocations: 182.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009529/0.0009528, allocations: 94.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.728e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.252, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.774/7.026, allocations: 2.19 GB / 3.082 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/7.026, allocations: 88.58 kB / 3.082 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9978/8.024, allocations: 167.4 MB / 3.246 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.002e-06/8.024, allocations: 2.969 kB / 3.246 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.975e-05/8.024, allocations: 12.8 kB / 3.246 GB, free: 259.2 MB / 0.8698 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.001281/8.026, allocations: 0.7298 MB / 3.247 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/8.026, allocations: 9.844 kB / 3.247 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.663e-05/8.026, allocations: 64.81 kB / 3.247 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/8.027, allocations: 148.3 kB / 3.247 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009096/8.028, allocations: 0.4974 MB / 3.247 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/8.028, allocations: 26.69 kB / 3.247 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/8.028, allocations: 35.83 kB / 3.247 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005932/8.028, allocations: 319.5 kB / 3.248 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/8.028, allocations: 1.062 kB / 3.248 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/8.028, allocations: 11.72 kB / 3.248 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/8.029, allocations: 14.5 kB / 3.248 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/8.029, allocations: 216.7 kB / 3.248 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/8.031, allocations: 1.458 MB / 3.249 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/8.031, allocations: 217.1 kB / 3.249 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/8.031, allocations: 105.1 kB / 3.25 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/8.031, allocations: 5.812 kB / 3.25 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/8.032, allocations: 162.3 kB / 3.25 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 2.485e-06/8.032, allocations: 0 / 3.25 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002626/8.034, allocations: 1.042 MB / 3.251 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/8.034, allocations: 61.98 kB / 3.251 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005274/8.035, allocations: 404.6 kB / 3.251 GB, free: 257 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/8.035, allocations: 36.55 kB / 3.251 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/8.035, allocations: 237 kB / 3.251 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/8.035, allocations: 106.7 kB / 3.252 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/8.035, allocations: 8.531 kB / 3.252 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000105/8.035, allocations: 357 kB / 3.252 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/8.036, allocations: 133.1 kB / 3.252 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/8.036, allocations: 195.8 kB / 3.252 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/8.036, allocations: 167.3 kB / 3.252 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/8.036, allocations: 1.281 kB / 3.252 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009708/8.037, allocations: 495 kB / 3.253 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/8.037, allocations: 13.92 kB / 3.253 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/8.037, allocations: 1.281 kB / 3.253 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/8.038, allocations: 85.52 kB / 3.253 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/8.038, allocations: 67.75 kB / 3.253 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/8.04, allocations: 1.721 MB / 3.255 GB, free: 255 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/8.04, allocations: 18.58 kB / 3.255 GB, free: 255 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/8.04, allocations: 18.38 kB / 3.255 GB, free: 255 MB / 0.8698 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 () * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/8.04, allocations: 132.4 kB / 3.255 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/8.04, allocations: 46.22 kB / 3.255 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009143/8.041, allocations: 411.1 kB / 3.255 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/8.041, allocations: 6.859 kB / 3.255 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/8.041, allocations: 1.281 kB / 3.255 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/8.041, allocations: 3.562 kB / 3.255 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/8.043, allocations: 1.034 MB / 3.256 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/8.043, allocations: 5.062 kB / 3.256 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/8.043, allocations: 61.03 kB / 3.256 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/8.044, allocations: 102.3 kB / 3.257 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/8.044, allocations: 13.22 kB / 3.257 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/8.045, allocations: 1.718 MB / 3.258 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/8.045, allocations: 4.25 kB / 3.258 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/8.046, allocations: 0.6008 MB / 3.259 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/8.047, allocations: 160.8 kB / 3.259 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/8.047, allocations: 10.22 kB / 3.259 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/8.047, allocations: 22.98 kB / 3.259 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/8.047, allocations: 22.7 kB / 3.259 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/8.047, allocations: 14.08 kB / 3.259 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000403/8.048, allocations: 304.2 kB / 3.259 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/8.048, allocations: 0 / 3.259 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009009/8.049, allocations: 181.9 kB / 3.259 GB, free: 252.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003052/8.052, allocations: 2.113 MB / 3.262 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008171/8.052, allocations: 428 kB / 3.262 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/8.052, allocations: 4.344 kB / 3.262 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004918/8.053, allocations: 270.9 kB / 3.262 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/8.054, allocations: 228.4 kB / 3.262 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/8.056, allocations: 0.8951 MB / 3.263 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/8.056, allocations: 0.8662 MB / 3.264 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003982/8.057, allocations: 89.41 kB / 3.264 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/8.057, allocations: 157.2 kB / 3.264 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/8.057, allocations: 2.938 kB / 3.264 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04883/8.106, allocations: 26.02 MB / 3.29 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/8.106, allocations: 203.5 kB / 3.29 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/11.5, allocations: 0 / 3.29 GB, free: 248.8 MB / 0.8698 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)