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.001301/0.001301, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001425/0.001425, allocations: 177.3 kB / 15.94 MB, free: 228 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.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.545/2.545, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 11.98 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8529/0.8533, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1724/1.026, allocations: 136.8 MB / 1.087 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005851/1.032, allocations: 3.363 MB / 1.09 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006874/1.032, allocations: 15.88 kB / 1.09 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/1.033, allocations: 282.8 kB / 1.091 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002859/1.036, allocations: 0.8062 MB / 1.092 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/1.038, allocations: 0.5235 MB / 1.092 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001239/1.039, allocations: 0.6562 MB / 1.093 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/1.04, allocations: 250.5 kB / 1.093 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005327/1.04, allocations: 318.8 kB / 1.093 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/1.041, allocations: 231 kB / 1.093 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/1.041, allocations: 16 kB / 1.093 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009513/1.042, allocations: 319.5 kB / 1.094 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/1.042, allocations: 131.6 kB / 1.094 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/1.042, allocations: 121.5 kB / 1.094 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007582/1.043, allocations: 0.6117 MB / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.043, allocations: 4 kB / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/1.043, allocations: 0 / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.043, allocations: 0 / 1.095 GB, free: 15.43 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.001356/1.044, allocations: 0.772 MB / 1.095 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.044, allocations: 8.031 kB / 1.095 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.181e-05/1.044, allocations: 62.55 kB / 1.095 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/1.045, allocations: 151.2 kB / 1.096 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/1.046, allocations: 485.2 kB / 1.096 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/1.046, allocations: 24.55 kB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/1.046, allocations: 28 kB / 1.096 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/1.047, allocations: 315.6 kB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/1.047, allocations: 0 / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/1.047, allocations: 12 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/1.047, allocations: 12.56 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/1.047, allocations: 222.1 kB / 1.097 GB, free: 13.26 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.002087/1.049, allocations: 1.414 MB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/1.05, allocations: 221.4 kB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/1.05, allocations: 4 kB / 1.098 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/1.05, allocations: 165.4 kB / 1.098 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/1.05, allocations: 0 / 1.098 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.002785/1.053, allocations: 1.093 MB / 1.099 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/1.053, allocations: 59.41 kB / 1.099 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/1.053, allocations: 457.9 kB / 1.1 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/1.054, allocations: 33.7 kB / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/1.054, allocations: 232.2 kB / 1.1 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-05/1.054, allocations: 110.5 kB / 1.1 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/1.054, allocations: 16 kB / 1.1 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.054, allocations: 346.8 kB / 1.101 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/1.054, allocations: 128.7 kB / 1.101 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/1.054, allocations: 182.6 kB / 1.101 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/1.055, allocations: 153.5 kB / 1.101 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.055, allocations: 3.938 kB / 1.101 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009407/1.056, allocations: 482.5 kB / 1.102 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.056, allocations: 13.03 kB / 1.102 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.056, allocations: 0 / 1.102 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/1.056, allocations: 80.8 kB / 1.102 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/1.056, allocations: 63.91 kB / 1.102 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/1.058, allocations: 1.783 MB / 1.103 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/1.059, allocations: 23.92 kB / 1.103 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/1.059, allocations: 16 kB / 1.103 GB, free: 5.812 MB / 0.8575 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.0002578/1.059, allocations: 190 kB / 1.104 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/1.059, allocations: 55.38 kB / 1.104 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/1.059, allocations: 52.62 kB / 1.104 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.059, allocations: 4 kB / 1.104 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.059, allocations: 3.938 kB / 1.104 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/1.059, allocations: 4.109 kB / 1.104 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/1.061, allocations: 0.9689 MB / 1.105 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.061, allocations: 0 / 1.105 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/1.061, allocations: 59.97 kB / 1.105 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/1.062, allocations: 76.78 kB / 1.105 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/1.062, allocations: 12 kB / 1.105 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.063, allocations: 1.572 MB / 1.106 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.063, allocations: 4.031 kB / 1.106 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.064, allocations: 0.5668 MB / 1.107 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/1.064, allocations: 156.5 kB / 1.107 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/1.064, allocations: 16.05 kB / 1.107 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/1.065, allocations: 19.44 kB / 1.107 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/1.065, allocations: 24.05 kB / 1.107 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/1.065, allocations: 11.98 kB / 1.107 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000351/1.065, allocations: 315 kB / 1.107 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/1.065, allocations: 0 / 1.107 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005699/1.066, allocations: 124 kB / 1.108 GB, free: 1.371 MB / 0.8575 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.002294/1.068, allocations: 1.423 MB / 1.109 GB, free: 80 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009778/1.069, allocations: 446.6 kB / 1.109 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.069, allocations: 0 / 1.109 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/1.069, allocations: 247.1 kB / 1.11 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/1.071, allocations: 230.3 kB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/1.073, allocations: 2.346 MB / 1.112 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/1.074, allocations: 0.8583 MB / 1.113 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003692/1.074, allocations: 88.33 kB / 1.113 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/1.074, allocations: 151.4 kB / 1.113 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/1.074, allocations: 0 / 1.113 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/1.107, allocations: 12.41 MB / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/1.108, allocations: 229.8 kB / 1.126 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/3.296, allocations: 0 / 1.126 GB, free: 15.22 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