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.499/2.499, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001111/0.001111, allocations: 181.2 kB / 498.1 MB, free: 5.699 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.689/1.689, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.001268/0.001268, allocations: 102.5 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 9.344 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.455/4.751, allocations: 1.918 GB / 3.141 GB, free: 61.05 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004369/4.752, allocations: 91.95 kB / 3.141 GB, free: 60.96 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.233/5.985, allocations: 174.3 MB / 3.312 GB, free: 361 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.473e-06/5.985, allocations: 0 / 3.312 GB, free: 361 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.213e-05/5.985, allocations: 8 kB / 3.312 GB, free: 361 MB / 1.167 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.001652/5.987, allocations: 0.838 MB / 3.312 GB, free: 360.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/5.987, allocations: 8.031 kB / 3.312 GB, free: 360.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.351e-05/5.987, allocations: 74.47 kB / 3.312 GB, free: 360 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009764/5.988, allocations: 147.2 kB / 3.313 GB, free: 359.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/5.989, allocations: 0.5145 MB / 3.313 GB, free: 359.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/5.989, allocations: 24.56 kB / 3.313 GB, free: 359.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/5.989, allocations: 31.95 kB / 3.313 GB, free: 359.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/5.99, allocations: 315.7 kB / 3.313 GB, free: 358.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/5.99, allocations: 0 / 3.313 GB, free: 358.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/5.99, allocations: 12 kB / 3.313 GB, free: 358.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/5.99, allocations: 12.55 kB / 3.313 GB, free: 358.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/5.99, allocations: 222.1 kB / 3.314 GB, free: 358.7 MB / 1.167 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.002119/5.992, allocations: 1.455 MB / 3.315 GB, free: 357.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/5.993, allocations: 234.8 kB / 3.315 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/5.993, allocations: 7.938 kB / 3.315 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/5.993, allocations: 159.7 kB / 3.315 GB, free: 356.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=26): time 2.725e-06/5.993, allocations: 0 / 3.315 GB, free: 356.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=29): time 0.002808/5.996, allocations: 1.1 MB / 3.317 GB, free: 355.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/5.996, allocations: 55.41 kB / 3.317 GB, free: 355.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/5.996, allocations: 417 kB / 3.317 GB, free: 355 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/5.996, allocations: 33.7 kB / 3.317 GB, free: 355 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/5.997, allocations: 236.3 kB / 3.317 GB, free: 354.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/5.997, allocations: 102.5 kB / 3.317 GB, free: 354.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/5.997, allocations: 12 kB / 3.317 GB, free: 354.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000109/5.997, allocations: 354.8 kB / 3.318 GB, free: 354.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/5.997, allocations: 132.7 kB / 3.318 GB, free: 354.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/5.997, allocations: 186.8 kB / 3.318 GB, free: 354 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/5.997, allocations: 158.9 kB / 3.318 GB, free: 353.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/5.998, allocations: 0 / 3.318 GB, free: 353.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000857/5.998, allocations: 495.7 kB / 3.319 GB, free: 353.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/5.998, allocations: 8.031 kB / 3.319 GB, free: 353.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/5.998, allocations: 7.938 kB / 3.319 GB, free: 353.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/5.999, allocations: 80.8 kB / 3.319 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/5.999, allocations: 63.92 kB / 3.319 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/6.001, allocations: 1.795 MB / 3.321 GB, free: 351.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/6.001, allocations: 23.89 kB / 3.321 GB, free: 351.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/6.001, allocations: 12 kB / 3.321 GB, free: 351.2 MB / 1.167 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.0002395/6.001, allocations: 201.8 kB / 3.321 GB, free: 351 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/6.001, allocations: 43.44 kB / 3.321 GB, free: 350.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/6.002, allocations: 402.9 kB / 3.321 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/6.002, allocations: 4.188 kB / 3.321 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/6.002, allocations: 8 kB / 3.321 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/6.002, allocations: 3.984 kB / 3.321 GB, free: 350.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/6.004, allocations: 0.9794 MB / 3.322 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/6.004, allocations: 0 / 3.322 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/6.004, allocations: 63.97 kB / 3.322 GB, free: 349.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/6.004, allocations: 72.8 kB / 3.322 GB, free: 349.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/6.004, allocations: 11.98 kB / 3.322 GB, free: 349.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/6.006, allocations: 1.577 MB / 3.324 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/6.006, allocations: 0 / 3.324 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009155/6.007, allocations: 0.583 MB / 3.324 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/6.007, allocations: 152.5 kB / 3.325 GB, free: 346.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/6.007, allocations: 11.98 kB / 3.325 GB, free: 346.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/6.007, allocations: 15.98 kB / 3.325 GB, free: 346.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/6.007, allocations: 19.97 kB / 3.325 GB, free: 346.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/6.007, allocations: 12 kB / 3.325 GB, free: 346.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003129/6.008, allocations: 315.1 kB / 3.325 GB, free: 346.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/6.008, allocations: 0 / 3.325 GB, free: 346.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000802/6.008, allocations: 195.9 kB / 3.325 GB, free: 346.3 MB / 1.167 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 (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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00289/6.011, allocations: 2.041 MB / 3.327 GB, free: 344.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009061/6.012, allocations: 466.5 kB / 3.328 GB, free: 343.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/6.012, allocations: 0 / 3.328 GB, free: 343.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/6.013, allocations: 243.1 kB / 3.328 GB, free: 343.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/6.014, allocations: 232 kB / 3.328 GB, free: 343.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/6.016, allocations: 2.39 MB / 3.33 GB, free: 341 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/6.016, allocations: 0.862 MB / 3.331 GB, free: 340.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003581/6.017, allocations: 88.31 kB / 3.331 GB, free: 340 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/6.017, allocations: 155.4 kB / 3.331 GB, free: 339.9 MB / 1.167 GB Notification: Performance of SimCode: time 7.42e-07/6.017, allocations: 0 / 3.331 GB, free: 339.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04036/6.057, allocations: 23.93 MB / 3.355 GB, free: 316.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/6.057, allocations: 223.9 kB / 3.355 GB, free: 315.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.294/9.351, allocations: 7.812 kB / 3.355 GB, free: 315.9 MB / 1.167 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