Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",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.403/2.403, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001056/0.001056, allocations: 180.4 kB / 496.1 MB, free: 12.84 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.493/1.493, allocations: 221.3 MB / 0.7915 GB, free: 5.363 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.001034/0.001034, allocations: 84.02 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.077e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2875, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.494, allocations: 420.5 MB / 1.629 GB, free: 13.91 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.494, allocations: 88.83 kB / 1.63 GB, free: 13.82 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.618/3.112, allocations: 461.7 MB / 2.08 GB, free: 74.16 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.564e-06/3.112, allocations: 0 / 2.08 GB, free: 74.16 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000154/3.112, allocations: 35.94 kB / 2.08 GB, free: 74.13 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.00426/3.117, allocations: 1.514 MB / 2.082 GB, free: 72.55 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/3.117, allocations: 12.03 kB / 2.082 GB, free: 72.54 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004135/3.117, allocations: 131.5 kB / 2.082 GB, free: 72.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007219/3.118, allocations: 170.1 kB / 2.082 GB, free: 72.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/3.121, allocations: 1.41 MB / 2.084 GB, free: 70.77 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/3.121, allocations: 62 kB / 2.084 GB, free: 70.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/3.121, allocations: 88 kB / 2.084 GB, free: 70.62 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/3.123, allocations: 0.9333 MB / 2.085 GB, free: 69.65 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/3.123, allocations: 0 / 2.085 GB, free: 69.65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/3.123, allocations: 39.98 kB / 2.085 GB, free: 69.61 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/3.123, allocations: 37.98 kB / 2.085 GB, free: 69.57 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009347/3.124, allocations: 0.6365 MB / 2.085 GB, free: 68.93 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.004636/3.129, allocations: 4.129 MB / 2.089 GB, free: 64.59 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/3.129, allocations: 0.4963 MB / 2.09 GB, free: 64.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/3.13, allocations: 254.5 kB / 2.09 GB, free: 63.83 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/3.13, allocations: 0.5026 MB / 2.091 GB, free: 63.21 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/3.131, allocations: 370.8 kB / 2.091 GB, free: 62.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 2.335e-06/3.131, allocations: 0 / 2.091 GB, free: 62.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=51): time 0.002765/3.133, allocations: 1.677 MB / 2.093 GB, free: 61.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/3.133, allocations: 136.9 kB / 2.093 GB, free: 60.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/3.134, allocations: 0.9594 MB / 2.094 GB, free: 59.93 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/3.134, allocations: 37.7 kB / 2.094 GB, free: 59.89 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/3.135, allocations: 0.5972 MB / 2.094 GB, free: 59.28 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/3.135, allocations: 173.5 kB / 2.094 GB, free: 59.11 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/3.135, allocations: 12 kB / 2.094 GB, free: 59.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/3.135, allocations: 330 kB / 2.095 GB, free: 58.77 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/3.135, allocations: 213.4 kB / 2.095 GB, free: 58.56 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/3.136, allocations: 417 kB / 2.095 GB, free: 58.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/3.136, allocations: 300.8 kB / 2.096 GB, free: 57.76 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/3.136, allocations: 448 / 2.096 GB, free: 57.76 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001194/3.137, allocations: 0.8677 MB / 2.097 GB, free: 56.88 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000279/3.138, allocations: 1.534 MB / 2.098 GB, free: 55.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/3.138, allocations: 4 kB / 2.098 GB, free: 55.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/3.138, allocations: 145.6 kB / 2.098 GB, free: 55.08 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/3.138, allocations: 111.8 kB / 2.098 GB, free: 54.97 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/3.14, allocations: 2.227 MB / 2.1 GB, free: 52.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009927/3.141, allocations: 87.92 kB / 2.101 GB, free: 52.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/3.141, allocations: 28.08 kB / 2.101 GB, free: 52.47 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/3.141, allocations: 4 kB / 2.101 GB, free: 52.46 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00103/3.142, allocations: 0.7737 MB / 2.101 GB, free: 51.68 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/3.142, allocations: 4 kB / 2.101 GB, free: 51.68 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/3.142, allocations: 121.6 kB / 2.101 GB, free: 51.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/3.143, allocations: 108.1 kB / 2.102 GB, free: 51.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/3.144, allocations: 2.215 MB / 2.104 GB, free: 49.07 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/3.145, allocations: 71.84 kB / 2.104 GB, free: 49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/3.145, allocations: 35.98 kB / 2.104 GB, free: 48.96 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001736/3.145, allocations: 174.6 kB / 2.104 GB, free: 48.78 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/3.145, allocations: 122.6 kB / 2.104 GB, free: 48.66 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/3.146, allocations: 0.8026 MB / 2.105 GB, free: 47.84 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/3.146, allocations: 4 kB / 2.105 GB, free: 47.84 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/3.146, allocations: 8.125 kB / 2.105 GB, free: 47.83 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009295/3.147, allocations: 0.7355 MB / 2.106 GB, free: 47.05 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/3.15, allocations: 1.896 MB / 2.107 GB, free: 45.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/3.15, allocations: 0 / 2.107 GB, free: 45.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/3.15, allocations: 59.97 kB / 2.108 GB, free: 45.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004037/3.151, allocations: 145.6 kB / 2.108 GB, free: 44.87 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/3.151, allocations: 16 kB / 2.108 GB, free: 44.85 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/3.152, allocations: 2.211 MB / 2.11 GB, free: 42.48 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/3.152, allocations: 4.031 kB / 2.11 GB, free: 42.48 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/3.153, allocations: 1.25 MB / 2.111 GB, free: 41.17 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/3.154, allocations: 279.7 kB / 2.111 GB, free: 40.88 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/3.154, allocations: 15.98 kB / 2.111 GB, free: 40.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/3.154, allocations: 43.98 kB / 2.111 GB, free: 40.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/3.155, allocations: 36.02 kB / 2.111 GB, free: 40.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/3.155, allocations: 35.98 kB / 2.111 GB, free: 40.75 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008096/3.155, allocations: 0.7455 MB / 2.112 GB, free: 39.99 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/3.155, allocations: 0 / 2.112 GB, free: 39.99 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001753/3.157, allocations: 0.6364 MB / 2.113 GB, free: 39.36 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002679/3.16, allocations: 2.51 MB / 2.115 GB, free: 36.78 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001866/3.162, allocations: 1.328 MB / 2.117 GB, free: 35.41 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/3.162, allocations: 0 / 2.117 GB, free: 35.41 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/3.162, allocations: 482 kB / 2.117 GB, free: 34.91 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/3.165, allocations: 0.5638 MB / 2.118 GB, free: 34.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/3.169, allocations: 1.767 MB / 2.119 GB, free: 32.53 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/3.17, allocations: 1.161 MB / 2.12 GB, free: 31.34 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001492/3.171, allocations: 321 kB / 2.121 GB, free: 31.03 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/3.172, allocations: 435.3 kB / 2.121 GB, free: 30.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/3.172, allocations: 0 / 2.121 GB, free: 30.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6982/3.87, allocations: 38.92 MB / 2.159 GB, free: 266.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/3.87, allocations: 231.5 kB / 2.159 GB, free: 266.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/7.237, allocations: 0 / 2.159 GB, free: 266.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat does not exist to compare? outputFormat=mat