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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 100.1 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.002801/0.002801, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.647/2.647, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.955/4.955, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.000594, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393/1.394, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.08305/1.477, allocations: 47.9 MB / 1.028 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02638/1.503, allocations: 9.045 MB / 1.036 GB, free: 13.18 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004351/1.508, allocations: 47.69 kB / 1.037 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004623/1.512, allocations: 0.6335 MB / 1.037 GB, free: 12.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/1.524, allocations: 1.884 MB / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007886/1.532, allocations: 1.382 MB / 1.04 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008451/1.541, allocations: 2.164 MB / 1.042 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/1.544, allocations: 0.925 MB / 1.043 GB, free: 6.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/1.548, allocations: 0.9497 MB / 1.044 GB, free: 5.188 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002451/1.551, allocations: 0.665 MB / 1.045 GB, free: 4.52 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000425/1.551, allocations: 48 kB / 1.045 GB, free: 4.473 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/1.556, allocations: 0.7567 MB / 1.046 GB, free: 3.715 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000832/1.557, allocations: 243 kB / 1.046 GB, free: 3.477 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/1.558, allocations: 313 kB / 1.046 GB, free: 3.164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004965/1.563, allocations: 1.656 MB / 1.048 GB, free: 1.504 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.563, allocations: 4 kB / 1.048 GB, free: 1.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.926e-06/1.563, allocations: 0 / 1.048 GB, free: 1.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.703e-05/1.563, allocations: 4 kB / 1.048 GB, free: 1.496 MB / 0.795 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.005477/1.569, allocations: 1.603 MB / 1.049 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.373e-05/1.569, allocations: 12.03 kB / 1.049 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004287/1.569, allocations: 139.4 kB / 1.05 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/1.57, allocations: 162.2 kB / 1.05 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/1.574, allocations: 1.073 MB / 1.051 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/1.574, allocations: 66 kB / 1.051 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/1.574, allocations: 96 kB / 1.051 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/1.577, allocations: 0.941 MB / 1.052 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/1.577, allocations: 8 kB / 1.052 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/1.577, allocations: 35.95 kB / 1.052 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.716e-05/1.577, allocations: 28 kB / 1.052 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/1.579, allocations: 0.6636 MB / 1.053 GB, free: 12.51 MB / 0.8106 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.009459/1.589, allocations: 4.112 MB / 1.057 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/1.59, allocations: 448.8 kB / 1.057 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/1.591, allocations: 0.4991 MB / 1.057 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008906/1.592, allocations: 354 kB / 1.058 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 3.827e-06/1.592, allocations: 0 / 1.058 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=54): time 0.006959/1.599, allocations: 2.033 MB / 1.06 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.599, allocations: 144.9 kB / 1.06 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/1.602, allocations: 1.125 MB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/1.602, allocations: 37.7 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008431/1.603, allocations: 0.5858 MB / 1.062 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/1.603, allocations: 181.5 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/1.603, allocations: 12 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.603, allocations: 330 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/1.604, allocations: 213.5 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/1.605, allocations: 424.9 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/1.606, allocations: 299.8 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.606, allocations: 0 / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002603/1.608, allocations: 0.8795 MB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001135/1.609, allocations: 1.71 MB / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.609, allocations: 4 kB / 1.066 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/1.61, allocations: 113.6 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/1.611, allocations: 119.8 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/1.614, allocations: 2.211 MB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/1.616, allocations: 83.89 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/1.616, allocations: 35.98 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.616, allocations: 5.25 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002063/1.618, allocations: 0.7663 MB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.618, allocations: 4.125 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/1.619, allocations: 121.6 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/1.619, allocations: 115.8 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/1.623, allocations: 2.211 MB / 1.071 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/1.624, allocations: 79.92 kB / 1.071 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/1.625, allocations: 31.98 kB / 1.071 GB, free: 8.176 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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.001274/1.626, allocations: 426.5 kB / 1.072 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/1.626, allocations: 126.5 kB / 1.072 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/1.629, allocations: 0.8 MB / 1.073 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/1.629, allocations: 7.984 kB / 1.073 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.629, allocations: 7.938 kB / 1.073 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001608/1.63, allocations: 0.7073 MB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/1.636, allocations: 1.81 MB / 1.075 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/1.636, allocations: 8.141 kB / 1.075 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/1.636, allocations: 71.91 kB / 1.075 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005727/1.637, allocations: 113.8 kB / 1.075 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/1.637, allocations: 15.98 kB / 1.075 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003234/1.64, allocations: 2.203 MB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.64, allocations: 0 / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/1.643, allocations: 1.178 MB / 1.079 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.645, allocations: 287.4 kB / 1.079 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/1.645, allocations: 16.08 kB / 1.079 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.646, allocations: 63.88 kB / 1.079 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.646, allocations: 43.84 kB / 1.079 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/1.647, allocations: 23.98 kB / 1.079 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00193/1.648, allocations: 0.7917 MB / 1.08 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/1.648, allocations: 0 / 1.08 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003457/1.652, allocations: 0.5975 MB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * 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.004791/1.657, allocations: 2.368 MB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003625/1.66, allocations: 1.329 MB / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.66, allocations: 4 kB / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.662, allocations: 467.3 kB / 1.084 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005044/1.667, allocations: 0.5736 MB / 1.085 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/1.679, allocations: 5.842 MB / 1.091 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.681, allocations: 1.156 MB / 1.092 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001892/1.683, allocations: 229.5 kB / 1.092 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.684, allocations: 459.2 kB / 1.093 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of SimCode: time 1.172e-06/1.684, allocations: 0 / 1.093 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2367/1.921, allocations: 34.08 MB / 1.126 GB, free: 164 kB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006739/1.921, allocations: 260.4 kB / 1.126 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.26/7.181, allocations: 0 / 1.126 GB, free: 15.82 MB / 0.8887 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) Environment - environmentSimulation: