Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 387.1 MB / 399.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 173 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009948/0.0009948, allocations: 109.8 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.629e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2627, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.391/5.654, allocations: 1.918 GB / 3.131 GB, free: 345.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/5.654, allocations: 91.09 kB / 3.131 GB, free: 345.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.355/6.009, allocations: 174.1 MB / 3.301 GB, free: 192.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.152e-06/6.009, allocations: 0 / 3.301 GB, free: 192.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.635e-05/6.009, allocations: 16 kB / 3.301 GB, free: 192.1 MB / 1.151 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.001708/6.011, allocations: 0.738 MB / 3.302 GB, free: 191.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/6.011, allocations: 12.03 kB / 3.302 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/6.011, allocations: 70.53 kB / 3.302 GB, free: 191.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/6.012, allocations: 143.2 kB / 3.302 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/6.014, allocations: 0.5168 MB / 3.302 GB, free: 190.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/6.014, allocations: 20.56 kB / 3.302 GB, free: 190.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/6.014, allocations: 28 kB / 3.302 GB, free: 190.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/6.014, allocations: 307.7 kB / 3.303 GB, free: 190.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/6.014, allocations: 3.938 kB / 3.303 GB, free: 190.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/6.014, allocations: 12 kB / 3.303 GB, free: 190.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/6.014, allocations: 12.56 kB / 3.303 GB, free: 190.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/6.015, allocations: 214.2 kB / 3.303 GB, free: 190 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/6.017, allocations: 1.459 MB / 3.304 GB, free: 188.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/6.017, allocations: 226.8 kB / 3.304 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/6.017, allocations: 108.8 kB / 3.305 GB, free: 188 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/6.017, allocations: 0 / 3.305 GB, free: 188 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/6.018, allocations: 159.9 kB / 3.305 GB, free: 187.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=26): time 2.285e-06/6.018, allocations: 4 kB / 3.305 GB, free: 187.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.002466/6.02, allocations: 0.9841 MB / 3.306 GB, free: 186.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/6.02, allocations: 55.41 kB / 3.306 GB, free: 186.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/6.021, allocations: 411.2 kB / 3.306 GB, free: 186.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/6.021, allocations: 29.7 kB / 3.306 GB, free: 186.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/6.021, allocations: 236.2 kB / 3.306 GB, free: 186.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/6.021, allocations: 110.5 kB / 3.307 GB, free: 186 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/6.021, allocations: 8 kB / 3.307 GB, free: 186 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/6.021, allocations: 358.8 kB / 3.307 GB, free: 185.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/6.021, allocations: 128.7 kB / 3.307 GB, free: 185.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/6.022, allocations: 182.7 kB / 3.307 GB, free: 185.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/6.022, allocations: 153.5 kB / 3.307 GB, free: 185.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/6.022, allocations: 4 kB / 3.307 GB, free: 185.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008467/6.023, allocations: 491.4 kB / 3.308 GB, free: 184.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/6.023, allocations: 8.156 kB / 3.308 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/6.023, allocations: 0 / 3.308 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003422/6.023, allocations: 84.8 kB / 3.308 GB, free: 184.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/6.023, allocations: 63.91 kB / 3.308 GB, free: 184.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/6.025, allocations: 1.725 MB / 3.31 GB, free: 182.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/6.025, allocations: 24.08 kB / 3.31 GB, free: 182.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/6.025, allocations: 16 kB / 3.31 GB, free: 182.6 MB / 1.151 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 (41): * Single equations (assignments): 40 * 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.0001093/6.025, allocations: 130.4 kB / 3.31 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/6.025, allocations: 51.39 kB / 3.31 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/6.026, allocations: 399.3 kB / 3.31 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/6.026, allocations: 4 kB / 3.31 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/6.026, allocations: 0 / 3.31 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/6.026, allocations: 3.984 kB / 3.31 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/6.028, allocations: 0.991 MB / 3.311 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/6.028, allocations: 0 / 3.311 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/6.028, allocations: 51.91 kB / 3.311 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/6.028, allocations: 112.8 kB / 3.311 GB, free: 180.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/6.028, allocations: 4 kB / 3.311 GB, free: 180.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/6.03, allocations: 1.721 MB / 3.313 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/6.03, allocations: 8.016 kB / 3.313 GB, free: 178.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008598/6.031, allocations: 0.5631 MB / 3.314 GB, free: 178.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/6.031, allocations: 156.6 kB / 3.314 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/6.031, allocations: 8 kB / 3.314 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/6.031, allocations: 27.83 kB / 3.314 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/6.032, allocations: 19.97 kB / 3.314 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/6.032, allocations: 11.98 kB / 3.314 GB, free: 178.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003667/6.032, allocations: 305.2 kB / 3.314 GB, free: 177.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/6.032, allocations: 0 / 3.314 GB, free: 177.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008887/6.033, allocations: 191.9 kB / 3.314 GB, free: 177.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (26): * Single equations (assignments): 23 * 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.002754/6.036, allocations: 2.018 MB / 3.316 GB, free: 175.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007036/6.036, allocations: 418.7 kB / 3.317 GB, free: 175.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/6.036, allocations: 0 / 3.317 GB, free: 175.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/6.037, allocations: 270.8 kB / 3.317 GB, free: 175 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/6.038, allocations: 215.7 kB / 3.317 GB, free: 174.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/6.04, allocations: 0.881 MB / 3.318 GB, free: 173.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/6.04, allocations: 0.862 MB / 3.319 GB, free: 173 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004243/6.04, allocations: 88.31 kB / 3.319 GB, free: 172.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/6.041, allocations: 167.4 kB / 3.319 GB, free: 172.7 MB / 1.151 GB Notification: Performance of SimCode: time 6.71e-07/6.041, allocations: 3.938 kB / 3.319 GB, free: 172.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/6.087, allocations: 25.98 MB / 3.344 GB, free: 146.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/6.087, allocations: 200 kB / 3.345 GB, free: 146.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/9.37, allocations: 0 / 3.345 GB, free: 146.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat does not exist to compare? outputFormat=mat