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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.597/2.597, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8053, allocations: 142.3 MB / 0.9538 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2061/1.011, allocations: 147.9 MB / 1.098 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006624/1.018, allocations: 3.24 MB / 1.101 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009967/1.019, allocations: 15.94 kB / 1.101 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009903/1.02, allocations: 198.9 kB / 1.102 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002512/1.023, allocations: 0.6454 MB / 1.102 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/1.024, allocations: 340.8 kB / 1.103 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002092/1.026, allocations: 1.192 MB / 1.104 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006753/1.027, allocations: 250.4 kB / 1.104 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009883/1.028, allocations: 330.5 kB / 1.104 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009281/1.029, allocations: 322.7 kB / 1.105 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/1.029, allocations: 12 kB / 1.105 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/1.03, allocations: 363.2 kB / 1.105 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002552/1.031, allocations: 135.5 kB / 1.105 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/1.031, allocations: 125.5 kB / 1.105 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/1.032, allocations: 0.6429 MB / 1.106 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.032, allocations: 0 / 1.106 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/1.032, allocations: 0 / 1.106 GB, free: 4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.032, allocations: 0 / 1.106 GB, free: 4 MB / 0.8575 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.001476/1.033, allocations: 0.7836 MB / 1.107 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.034, allocations: 8.031 kB / 1.107 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.997e-05/1.034, allocations: 66.53 kB / 1.107 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.035, allocations: 151.2 kB / 1.107 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007439/1.035, allocations: 481.2 kB / 1.107 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/1.035, allocations: 24.55 kB / 1.107 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/1.036, allocations: 32 kB / 1.107 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/1.036, allocations: 319.6 kB / 1.108 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/1.036, allocations: 0 / 1.108 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/1.036, allocations: 12 kB / 1.108 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/1.036, allocations: 12.56 kB / 1.108 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/1.037, allocations: 222.1 kB / 1.108 GB, free: 1.812 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00196/1.039, allocations: 1.414 MB / 1.109 GB, free: 268 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/1.039, allocations: 218.7 kB / 1.11 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/1.039, allocations: 108.8 kB / 1.11 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/1.039, allocations: 4 kB / 1.11 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/1.04, allocations: 169.3 kB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/1.04, allocations: 0 / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.002722/1.042, allocations: 1.096 MB / 1.111 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/1.042, allocations: 55.41 kB / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/1.043, allocations: 457.9 kB / 1.111 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/1.043, allocations: 29.7 kB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/1.043, allocations: 248.2 kB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.911e-05/1.043, allocations: 98.55 kB / 1.112 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/1.043, allocations: 8 kB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.044, allocations: 354.8 kB / 1.112 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/1.044, allocations: 124.7 kB / 1.112 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/1.044, allocations: 182.7 kB / 1.112 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/1.044, allocations: 153.5 kB / 1.112 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.044, allocations: 3.953 kB / 1.112 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009374/1.045, allocations: 490.5 kB / 1.113 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.045, allocations: 4 kB / 1.113 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/1.045, allocations: 4 kB / 1.113 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003513/1.046, allocations: 76.8 kB / 1.113 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/1.046, allocations: 72.03 kB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.048, allocations: 1.768 MB / 1.115 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/1.049, allocations: 35.89 kB / 1.115 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/1.049, allocations: 12 kB / 1.115 GB, free: 10.26 MB / 0.8731 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 (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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002833/1.049, allocations: 191 kB / 1.115 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/1.049, allocations: 47.39 kB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.049, allocations: 52.62 kB / 1.115 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.049, allocations: 4 kB / 1.115 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.049, allocations: 0 / 1.115 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.049, allocations: 7.984 kB / 1.115 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/1.051, allocations: 0.9572 MB / 1.116 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.051, allocations: 0 / 1.116 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/1.051, allocations: 63.91 kB / 1.116 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/1.051, allocations: 80.78 kB / 1.116 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/1.051, allocations: 8.125 kB / 1.116 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/1.053, allocations: 1.565 MB / 1.118 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.053, allocations: 0 / 1.118 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/1.054, allocations: 0.5744 MB / 1.118 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.054, allocations: 152.5 kB / 1.118 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/1.054, allocations: 12 kB / 1.118 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/1.054, allocations: 15.98 kB / 1.118 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/1.055, allocations: 19.97 kB / 1.119 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/1.055, allocations: 11.94 kB / 1.119 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003772/1.055, allocations: 311.1 kB / 1.119 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.055, allocations: 3.938 kB / 1.119 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005672/1.056, allocations: 128 kB / 1.119 GB, free: 5.844 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002312/1.058, allocations: 1.425 MB / 1.12 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009863/1.059, allocations: 446.5 kB / 1.121 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/1.059, allocations: 0 / 1.121 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/1.059, allocations: 251 kB / 1.121 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.06, allocations: 227.9 kB / 1.121 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/1.066, allocations: 3.004 MB / 1.124 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/1.067, allocations: 0.8505 MB / 1.125 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004917/1.067, allocations: 88.31 kB / 1.125 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/1.067, allocations: 151.4 kB / 1.125 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of SimCode: time 2.324e-06/1.067, allocations: 0 / 1.125 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/1.104, allocations: 12.66 MB / 1.138 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/1.105, allocations: 244.1 kB / 1.138 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/3.336, allocations: 0 / 1.138 GB, free: 2.789 MB / 0.8887 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