Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 390.3 MB / 402.8 MB, free: 6.648 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.001457/0.001457, allocations: 188.8 kB / 496.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.001144/0.001144, allocations: 95.59 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.053e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3541, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.19/7.544, allocations: 1.919 GB / 3.138 GB, free: 334.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/7.544, allocations: 83.95 kB / 3.138 GB, free: 334.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3612/7.905, allocations: 174.1 MB / 3.308 GB, free: 157.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.314e-06/7.905, allocations: 0 / 3.308 GB, free: 157.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.844e-05/7.905, allocations: 12 kB / 3.308 GB, free: 157.5 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.001376/7.907, allocations: 0.7477 MB / 3.309 GB, free: 156.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/7.907, allocations: 8.031 kB / 3.309 GB, free: 156.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.637e-05/7.907, allocations: 62.53 kB / 3.309 GB, free: 156.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/7.908, allocations: 151.2 kB / 3.309 GB, free: 156.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/7.909, allocations: 0.5129 MB / 3.309 GB, free: 155.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/7.909, allocations: 16.56 kB / 3.309 GB, free: 155.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/7.909, allocations: 32 kB / 3.309 GB, free: 155.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/7.91, allocations: 315.6 kB / 3.31 GB, free: 155.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/7.91, allocations: 0 / 3.31 GB, free: 155.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/7.91, allocations: 16 kB / 3.31 GB, free: 155.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/7.91, allocations: 12.56 kB / 3.31 GB, free: 155.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/7.911, allocations: 214.1 kB / 3.31 GB, free: 155.3 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.002151/7.913, allocations: 1.463 MB / 3.311 GB, free: 153.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/7.913, allocations: 216 kB / 3.312 GB, free: 153.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/7.913, allocations: 108.8 kB / 3.312 GB, free: 153.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/7.913, allocations: 4 kB / 3.312 GB, free: 153.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/7.914, allocations: 165.7 kB / 3.312 GB, free: 153.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/7.914, allocations: 0 / 3.312 GB, free: 153.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.002909/7.917, allocations: 0.9856 MB / 3.313 GB, free: 152.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/7.917, allocations: 59.34 kB / 3.313 GB, free: 152.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/7.917, allocations: 407.2 kB / 3.313 GB, free: 151.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/7.917, allocations: 33.7 kB / 3.313 GB, free: 151.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/7.917, allocations: 240.2 kB / 3.314 GB, free: 151.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/7.918, allocations: 102.6 kB / 3.314 GB, free: 151.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/7.918, allocations: 8 kB / 3.314 GB, free: 151.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001312/7.918, allocations: 358.8 kB / 3.314 GB, free: 150.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/7.918, allocations: 124.7 kB / 3.314 GB, free: 150.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/7.918, allocations: 182.7 kB / 3.314 GB, free: 150.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/7.918, allocations: 161.5 kB / 3.314 GB, free: 150.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/7.919, allocations: 3.938 kB / 3.314 GB, free: 150.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001004/7.92, allocations: 495.5 kB / 3.315 GB, free: 149.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/7.92, allocations: 9.562 kB / 3.315 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/7.92, allocations: 0 / 3.315 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/7.92, allocations: 80.8 kB / 3.315 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/7.92, allocations: 71.98 kB / 3.315 GB, free: 149.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/7.922, allocations: 1.717 MB / 3.317 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/7.923, allocations: 27.95 kB / 3.317 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/7.923, allocations: 12 kB / 3.317 GB, free: 147.9 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.0001562/7.923, allocations: 120.9 kB / 3.317 GB, free: 147.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/7.923, allocations: 55.45 kB / 3.317 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/7.924, allocations: 404.7 kB / 3.317 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/7.924, allocations: 4 kB / 3.317 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/7.924, allocations: 0 / 3.317 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/7.924, allocations: 3.953 kB / 3.317 GB, free: 147.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/7.926, allocations: 0.9836 MB / 3.318 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/7.926, allocations: 0 / 3.318 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/7.926, allocations: 59.91 kB / 3.318 GB, free: 146.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005523/7.927, allocations: 104.8 kB / 3.319 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/7.927, allocations: 12 kB / 3.319 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/7.928, allocations: 1.729 MB / 3.32 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/7.928, allocations: 0 / 3.32 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/7.93, allocations: 0.5666 MB / 3.321 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/7.93, allocations: 156.5 kB / 3.321 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/7.93, allocations: 8 kB / 3.321 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/7.93, allocations: 23.83 kB / 3.321 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/7.93, allocations: 19.97 kB / 3.321 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/7.93, allocations: 11.98 kB / 3.321 GB, free: 143.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003883/7.931, allocations: 305.2 kB / 3.321 GB, free: 143.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.931, allocations: 0 / 3.321 GB, free: 143.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001044/7.932, allocations: 199.9 kB / 3.321 GB, free: 142.9 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.003429/7.935, allocations: 1.992 MB / 3.323 GB, free: 141 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009076/7.936, allocations: 418.4 kB / 3.324 GB, free: 140.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/7.936, allocations: 0 / 3.324 GB, free: 140.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004573/7.937, allocations: 270.7 kB / 3.324 GB, free: 140.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/7.938, allocations: 227.4 kB / 3.324 GB, free: 140.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/7.94, allocations: 0.881 MB / 3.325 GB, free: 139.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/7.941, allocations: 0.8659 MB / 3.326 GB, free: 138.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005363/7.941, allocations: 88.31 kB / 3.326 GB, free: 138.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/7.942, allocations: 155.4 kB / 3.326 GB, free: 138 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/7.942, allocations: 0 / 3.326 GB, free: 138 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08279/8.024, allocations: 26 MB / 3.352 GB, free: 112.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/8.025, allocations: 202.2 kB / 3.352 GB, free: 112 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/11.48, allocations: 0 / 3.352 GB, free: 112 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat does not exist to compare? outputFormat=mat