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.365/2.365, allocations: 390.5 MB / 398 MB, free: 10.96 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.00122/0.00122, allocations: 184.8 kB / 491.2 MB, free: 1.547 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.567/1.567, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.00114/0.00114, allocations: 87.94 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.005e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2771, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.486, allocations: 419.8 MB / 1.622 GB, free: 10.84 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/1.486, allocations: 90.92 kB / 1.622 GB, free: 10.8 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.557/3.043, allocations: 459.1 MB / 2.071 GB, free: 130.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.854e-06/3.043, allocations: 0 / 2.071 GB, free: 130.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001551/3.043, allocations: 31.98 kB / 2.071 GB, free: 130.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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.004221/3.048, allocations: 1.522 MB / 2.072 GB, free: 128.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/3.048, allocations: 8.031 kB / 2.072 GB, free: 128.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008086/3.049, allocations: 162.1 kB / 2.072 GB, free: 128.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/3.052, allocations: 1.402 MB / 2.074 GB, free: 127.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/3.052, allocations: 35.94 kB / 2.074 GB, free: 127.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/3.052, allocations: 55.94 kB / 2.074 GB, free: 127.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001062/3.053, allocations: 0.578 MB / 2.074 GB, free: 126.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/3.054, allocations: 0.8123 MB / 2.075 GB, free: 125.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/3.054, allocations: 0 / 2.075 GB, free: 125.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/3.054, allocations: 0 / 2.075 GB, free: 125.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/3.054, allocations: 38 kB / 2.075 GB, free: 125.7 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.00453/3.059, allocations: 3.947 MB / 2.079 GB, free: 121.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000796/3.06, allocations: 483.3 kB / 2.08 GB, free: 121.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/3.06, allocations: 241.7 kB / 2.08 GB, free: 120.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/3.06, allocations: 0.4986 MB / 2.08 GB, free: 120.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/3.061, allocations: 342.6 kB / 2.081 GB, free: 119.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 2.235e-06/3.061, allocations: 0 / 2.081 GB, free: 119.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=51): time 0.00312/3.064, allocations: 1.539 MB / 2.082 GB, free: 118.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/3.064, allocations: 140.9 kB / 2.082 GB, free: 118.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000996/3.065, allocations: 0.8202 MB / 2.083 GB, free: 117.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/3.065, allocations: 30.14 kB / 2.083 GB, free: 117.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/3.065, allocations: 0.5926 MB / 2.084 GB, free: 116.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/3.066, allocations: 173.5 kB / 2.084 GB, free: 116.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/3.066, allocations: 0 / 2.084 GB, free: 116.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/3.066, allocations: 329.9 kB / 2.084 GB, free: 116.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/3.066, allocations: 201.5 kB / 2.084 GB, free: 115.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/3.066, allocations: 403.4 kB / 2.085 GB, free: 115.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/3.067, allocations: 266.8 kB / 2.085 GB, free: 115.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/3.067, allocations: 4 kB / 2.085 GB, free: 115.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001242/3.068, allocations: 0.7924 MB / 2.086 GB, free: 114.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003408/3.068, allocations: 1.52 MB / 2.087 GB, free: 112.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/3.068, allocations: 7.984 kB / 2.087 GB, free: 112.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/3.069, allocations: 129.6 kB / 2.087 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/3.069, allocations: 107.8 kB / 2.088 GB, free: 112.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/3.071, allocations: 2.18 MB / 2.09 GB, free: 110.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/3.072, allocations: 71.83 kB / 2.09 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/3.072, allocations: 35.98 kB / 2.09 GB, free: 110.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/3.072, allocations: 4 kB / 2.09 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/3.073, allocations: 0.6743 MB / 2.09 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/3.073, allocations: 4 kB / 2.09 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/3.073, allocations: 110.1 kB / 2.091 GB, free: 109.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/3.073, allocations: 99.89 kB / 2.091 GB, free: 109.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/3.074, allocations: 2.198 MB / 2.093 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/3.075, allocations: 59.84 kB / 2.093 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/3.075, allocations: 32 kB / 2.093 GB, free: 106.8 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.0001869/3.076, allocations: 154.5 kB / 2.093 GB, free: 106.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001065/3.077, allocations: 0.6701 MB / 2.094 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/3.077, allocations: 106.7 kB / 2.094 GB, free: 105.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/3.078, allocations: 0.7218 MB / 2.094 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/3.078, allocations: 4 kB / 2.094 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/3.078, allocations: 7.938 kB / 2.094 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008648/3.079, allocations: 0.6831 MB / 2.095 GB, free: 104.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/3.081, allocations: 1.697 MB / 2.097 GB, free: 102.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/3.081, allocations: 0 / 2.097 GB, free: 102.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/3.082, allocations: 67.89 kB / 2.097 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003496/3.082, allocations: 129.8 kB / 2.097 GB, free: 102.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/3.082, allocations: 7.984 kB / 2.097 GB, free: 102.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/3.083, allocations: 2.179 MB / 2.099 GB, free: 100 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/3.083, allocations: 0 / 2.099 GB, free: 100 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/3.085, allocations: 1.158 MB / 2.1 GB, free: 98.83 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/3.085, allocations: 279.6 kB / 2.101 GB, free: 98.54 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/3.085, allocations: 4 kB / 2.101 GB, free: 98.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/3.086, allocations: 43.91 kB / 2.101 GB, free: 98.49 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/3.086, allocations: 31.95 kB / 2.101 GB, free: 98.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/3.086, allocations: 23.98 kB / 2.101 GB, free: 98.43 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007443/3.087, allocations: 0.632 MB / 2.101 GB, free: 97.79 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/3.087, allocations: 0 / 2.101 GB, free: 97.79 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00205/3.089, allocations: 0.5974 MB / 2.102 GB, free: 97.2 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.00257/3.091, allocations: 2.432 MB / 2.104 GB, free: 94.71 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001599/3.093, allocations: 1.245 MB / 2.105 GB, free: 93.42 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/3.093, allocations: 0 / 2.105 GB, free: 93.42 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004677/3.094, allocations: 465.1 kB / 2.106 GB, free: 92.94 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/3.096, allocations: 477.3 kB / 2.106 GB, free: 92.48 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/3.099, allocations: 1.699 MB / 2.108 GB, free: 90.73 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/3.1, allocations: 1.157 MB / 2.109 GB, free: 89.54 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00125/3.101, allocations: 288 kB / 2.109 GB, free: 89.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/3.101, allocations: 439.3 kB / 2.11 GB, free: 88.82 MB / 1.151 GB Notification: Performance of SimCode: time 8.52e-07/3.101, allocations: 3.938 kB / 2.11 GB, free: 88.82 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06628/3.168, allocations: 32.24 MB / 2.141 GB, free: 56.83 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/3.168, allocations: 177.6 kB / 2.141 GB, free: 56.64 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.327/6.495, allocations: 0 / 2.141 GB, free: 56.64 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