Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_9_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.00116/0.00116, allocations: 99.62 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.001223/0.001223, 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 1.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 16 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8021, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05603/0.8581, allocations: 47.89 MB / 1 GB, free: 160 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.873, allocations: 9.056 MB / 1.009 GB, free: 7.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.8755, allocations: 43.69 kB / 1.009 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.878, allocations: 0.6258 MB / 1.01 GB, free: 6.41 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008407/0.8864, allocations: 1.893 MB / 1.012 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004834/0.8912, allocations: 1.374 MB / 1.013 GB, free: 3.164 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004884/0.8961, allocations: 2.18 MB / 1.015 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.8979, allocations: 0.9095 MB / 1.016 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.9003, allocations: 0.9536 MB / 1.017 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.9013, allocations: 0.6611 MB / 1.018 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.9014, allocations: 52 kB / 1.018 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.9037, allocations: 0.7529 MB / 1.018 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.904, allocations: 247 kB / 1.019 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.9044, allocations: 312.9 kB / 1.019 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.9065, allocations: 1.66 MB / 1.021 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.9065, allocations: 0 / 1.021 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9065, allocations: 0 / 1.021 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.9066, allocations: 0 / 1.021 GB, free: 11.4 MB / 0.7794 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.002935/0.9095, allocations: 1.598 MB / 1.022 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.9096, allocations: 8.031 kB / 1.022 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/0.9098, allocations: 135.5 kB / 1.022 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004297/0.9102, allocations: 170.1 kB / 1.022 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.9122, allocations: 1.073 MB / 1.023 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.9123, allocations: 74 kB / 1.024 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.9124, allocations: 92 kB / 1.024 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.914, allocations: 0.941 MB / 1.025 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.914, allocations: 7.938 kB / 1.025 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-05/0.9141, allocations: 39.98 kB / 1.025 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.9142, allocations: 24 kB / 1.025 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.9153, allocations: 0.6636 MB / 1.025 GB, free: 6.414 MB / 0.7794 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.005636/0.921, allocations: 4.096 MB / 1.029 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009074/0.9219, allocations: 464 kB / 1.03 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004537/0.9224, allocations: 0.4952 MB / 1.03 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/0.9229, allocations: 358 kB / 1.031 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=52): time 1.914e-06/0.923, allocations: 448 / 1.031 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of matching and sorting (n=54): time 0.003947/0.9269, allocations: 2.041 MB / 1.033 GB, free: 14.51 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.927, allocations: 141 kB / 1.033 GB, free: 14.34 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.9285, allocations: 1.129 MB / 1.034 GB, free: 13.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.9285, allocations: 41.7 kB / 1.034 GB, free: 13.15 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/0.9291, allocations: 0.5781 MB / 1.034 GB, free: 12.56 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.9292, allocations: 181.4 kB / 1.035 GB, free: 12.38 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.9293, allocations: 12 kB / 1.035 GB, free: 12.37 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9294, allocations: 334 kB / 1.035 GB, free: 12.04 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.9298, allocations: 213.5 kB / 1.035 GB, free: 11.83 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.9303, allocations: 422.5 kB / 1.035 GB, free: 11.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.9308, allocations: 299.8 kB / 1.036 GB, free: 11.04 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9308, allocations: 0 / 1.036 GB, free: 11.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001386/0.9322, allocations: 0.8833 MB / 1.037 GB, free: 10.14 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007549/0.9329, allocations: 1.702 MB / 1.038 GB, free: 8.312 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.9329, allocations: 8 kB / 1.038 GB, free: 8.305 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/0.9334, allocations: 121.6 kB / 1.038 GB, free: 8.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.9338, allocations: 119.8 kB / 1.039 GB, free: 8.062 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.9357, allocations: 2.199 MB / 1.041 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009676/0.9367, allocations: 84.03 kB / 1.041 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.9368, allocations: 36 kB / 1.041 GB, free: 5.582 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.9368, allocations: 4 kB / 1.041 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/0.938, allocations: 0.77 MB / 1.042 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.938, allocations: 4 kB / 1.042 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/0.9384, allocations: 113.6 kB / 1.042 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.9388, allocations: 119.8 kB / 1.042 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.9405, allocations: 2.204 MB / 1.044 GB, free: 2.195 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.9415, allocations: 75.94 kB / 1.044 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.9416, allocations: 31.98 kB / 1.044 GB, free: 2.09 MB / 0.795 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.0008208/0.9424, allocations: 434.5 kB / 1.044 GB, free: 1.648 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.9427, allocations: 134.4 kB / 1.045 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.9443, allocations: 0.8001 MB / 1.045 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.9443, allocations: 11.95 kB / 1.045 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9443, allocations: 0 / 1.045 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/0.9454, allocations: 0.7073 MB / 1.046 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.9485, allocations: 1.822 MB / 1.048 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.9486, allocations: 0 / 1.048 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.949, allocations: 71.89 kB / 1.048 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003792/0.9494, allocations: 109.6 kB / 1.048 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.9495, allocations: 15.98 kB / 1.048 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.9514, allocations: 2.211 MB / 1.05 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9515, allocations: 0 / 1.05 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.9532, allocations: 1.178 MB / 1.051 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005906/0.9538, allocations: 287.5 kB / 1.052 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.9541, allocations: 16 kB / 1.052 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007817/0.9548, allocations: 63.94 kB / 1.052 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.9549, allocations: 35.89 kB / 1.052 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/0.955, allocations: 27.98 kB / 1.052 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001261/0.9563, allocations: 0.7916 MB / 1.053 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9563, allocations: 0 / 1.053 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002103/0.9584, allocations: 0.6014 MB / 1.053 GB, free: 8.367 MB / 0.8106 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.0029/0.9613, allocations: 2.36 MB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002277/0.9636, allocations: 1.34 MB / 1.057 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.9636, allocations: 3.938 kB / 1.057 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.9643, allocations: 476 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/0.9671, allocations: 0.5609 MB / 1.058 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006825/0.974, allocations: 5.84 MB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009103/0.9749, allocations: 1.159 MB / 1.065 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001051/0.976, allocations: 225.5 kB / 1.065 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006441/0.9766, allocations: 463.2 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of SimCode: time 1.323e-06/0.9766, allocations: 0 / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06252/1.039, allocations: 34.08 MB / 1.099 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/1.039, allocations: 255.9 kB / 1.099 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.647, allocations: 0 / 1.099 GB, free: 9.738 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)