Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System2",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.001486/0.001486, allocations: 99.08 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.001888/0.001887, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.313/3.313, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.971/2.971, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 14.28 kB / 0.6736 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4669, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 1.558/2.025, allocations: 175.5 MB / 0.9586 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05553/2.081, allocations: 17.69 MB / 0.9759 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00744/2.089, allocations: 73.38 kB / 0.976 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009753/2.098, allocations: 1.127 MB / 0.9771 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02685/2.125, allocations: 3.02 MB / 0.98 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0275/2.153, allocations: 3.256 MB / 0.9832 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02467/2.178, allocations: 5.771 MB / 0.9888 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/2.188, allocations: 2.876 MB / 0.9917 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01532/2.204, allocations: 2.446 MB / 0.994 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008944/2.213, allocations: 1.927 MB / 0.9959 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002626/2.216, allocations: 151.1 kB / 0.9961 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01355/2.229, allocations: 1.57 MB / 0.9976 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.004108/2.233, allocations: 0.8348 MB / 0.9984 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004472/2.238, allocations: 0.7737 MB / 0.9992 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01692/2.255, allocations: 5.155 MB / 1.004 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/2.255, allocations: 3.938 kB / 1.004 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.244e-06/2.255, allocations: 0 / 1.004 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004065/2.256, allocations: 2.906 kB / 1.004 GB, free: 10.7 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.02176/2.277, allocations: 3.826 MB / 1.008 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.358e-05/2.277, allocations: 9.969 kB / 1.008 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002738/2.28, allocations: 333.6 kB / 1.008 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/2.292, allocations: 0.9665 MB / 1.009 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02017/2.312, allocations: 3.492 MB / 1.013 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004599/2.313, allocations: 190.2 kB / 1.013 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/2.315, allocations: 248.6 kB / 1.013 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/2.334, allocations: 3.173 MB / 1.016 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/2.334, allocations: 6.375 kB / 1.016 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009491/2.335, allocations: 99.12 kB / 1.016 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002508/2.335, allocations: 99.16 kB / 1.016 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/2.346, allocations: 2.628 MB / 1.019 GB, free: 4.898 MB / 0.7325 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.04554/2.391, allocations: 13.5 MB / 1.032 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/2.398, allocations: 2.176 MB / 1.034 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02017/2.418, allocations: 4.725 MB / 1.039 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002801/2.421, allocations: 0.9228 MB / 1.04 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003257/2.424, allocations: 186.1 kB / 1.04 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=130): time 1.554e-05/2.424, allocations: 0 / 1.04 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of matching and sorting (n=134): time 0.02216/2.446, allocations: 5.539 MB / 1.045 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/2.447, allocations: 141.8 kB / 1.045 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009316/2.456, allocations: 3.163 MB / 1.049 GB, free: 9.066 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0009288/2.457, allocations: 65.7 kB / 1.049 GB, free: 8.996 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002992/2.46, allocations: 1.518 MB / 1.05 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/2.462, allocations: 484 kB / 1.051 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/2.462, allocations: 44 kB / 1.051 GB, free: 6.961 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0003348/2.462, allocations: 391.7 kB / 1.051 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003756/2.466, allocations: 0.9799 MB / 1.052 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/2.471, allocations: 1.575 MB / 1.053 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/2.475, allocations: 1.22 MB / 1.055 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-05/2.475, allocations: 4 kB / 1.055 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01644/2.492, allocations: 3.383 MB / 1.058 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.005486/2.497, allocations: 6.589 MB / 1.064 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/2.497, allocations: 19.94 kB / 1.064 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/2.508, allocations: 1.185 MB / 1.066 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/2.512, allocations: 495.2 kB / 1.066 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009121/2.521, allocations: 3.165 MB / 1.069 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006919/2.528, allocations: 273.8 kB / 1.069 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/2.53, allocations: 108 kB / 1.07 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/2.53, allocations: 6.969 kB / 1.07 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01293/2.543, allocations: 3.038 MB / 1.072 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.93e-05/2.543, allocations: 16 kB / 1.072 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/2.553, allocations: 1.212 MB / 1.074 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/2.557, allocations: 483.2 kB / 1.074 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008766/2.566, allocations: 3.177 MB / 1.077 GB, free: 10.65 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006578/2.572, allocations: 252.2 kB / 1.077 GB, free: 10.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/2.573, allocations: 95.97 kB / 1.078 GB, free: 10.31 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 {(2,100.0%) 4} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.004727/2.578, allocations: 1.083 MB / 1.079 GB, free: 9.223 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00254/2.581, allocations: 308.2 kB / 1.079 GB, free: 8.918 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008662/2.589, allocations: 2.328 MB / 1.081 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.42e-05/2.59, allocations: 12 kB / 1.081 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/2.59, allocations: 4 kB / 1.081 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00531/2.595, allocations: 2.015 MB / 1.083 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/2.615, allocations: 5.222 MB / 1.088 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/2.616, allocations: 4.062 kB / 1.088 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/2.618, allocations: 291.8 kB / 1.089 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/2.619, allocations: 332.8 kB / 1.089 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003012/2.62, allocations: 47.97 kB / 1.089 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/2.632, allocations: 9.161 MB / 1.098 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/2.632, allocations: 4.031 kB / 1.098 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/2.643, allocations: 3.334 MB / 1.101 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005132/2.648, allocations: 0.6649 MB / 1.102 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002386/2.651, allocations: 36 kB / 1.102 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005166/2.656, allocations: 183.7 kB / 1.102 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006371/2.656, allocations: 105.2 kB / 1.102 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003902/2.657, allocations: 75.89 kB / 1.102 GB, free: 20 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.007778/2.665, allocations: 2.162 MB / 1.104 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.333e-06/2.665, allocations: 0 / 1.104 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01422/2.679, allocations: 1.66 MB / 1.106 GB, free: 12.21 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01702/2.696, allocations: 4.962 MB / 1.111 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01799/2.714, allocations: 4.333 MB / 1.115 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/2.714, allocations: 0.5625 kB / 1.115 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/2.718, allocations: 1.63 MB / 1.117 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01424/2.732, allocations: 1.664 MB / 1.118 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03986/2.772, allocations: 20 MB / 1.138 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004269/2.777, allocations: 2.441 MB / 1.14 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.008712/2.785, allocations: 1.114 MB / 1.141 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004968/2.79, allocations: 1.335 MB / 1.142 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of SimCode: time 1.563e-06/2.79, allocations: 0 / 1.142 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2737/3.064, allocations: 100.8 MB / 1.241 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/3.064, allocations: 238 kB / 1.241 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/11.38, allocations: 0 / 1.241 GB, free: 2.074 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) Environment - environmentSimulation: