Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 186.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009341/0.0009341, allocations: 97.56 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003829, allocations: 9.156 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.03685/0.2812, allocations: 48.06 MB / 0.9471 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.3003, allocations: 15.37 MB / 0.9621 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/0.3035, allocations: 51.62 kB / 0.9621 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.3071, allocations: 0.8826 MB / 0.963 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007548/0.3146, allocations: 2.198 MB / 0.9652 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008533/0.3232, allocations: 2.723 MB / 0.9678 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005153/0.3284, allocations: 2.278 MB / 0.97 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.3305, allocations: 1.026 MB / 0.971 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.3331, allocations: 1.07 MB / 0.9721 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.3344, allocations: 0.7038 MB / 0.9728 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.3345, allocations: 52 kB / 0.9728 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.3371, allocations: 1.061 MB / 0.9739 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.3375, allocations: 306.8 kB / 0.9742 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.3379, allocations: 360.9 kB / 0.9745 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002977/0.3409, allocations: 2.272 MB / 0.9767 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3409, allocations: 0 / 0.9767 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.341, allocations: 0 / 0.9767 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.014e-05/0.341, allocations: 0 / 0.9767 GB, free: 1.285 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003625/0.3446, allocations: 1.83 MB / 0.9785 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3447, allocations: 8.031 kB / 0.9785 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00019/0.3449, allocations: 131.1 kB / 0.9786 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.3465, allocations: 389.7 kB / 0.979 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.3493, allocations: 1.457 MB / 0.9804 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000643/0.3499, allocations: 205.8 kB / 0.9806 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.3501, allocations: 84 kB / 0.9807 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.3526, allocations: 1.11 MB / 0.9818 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.3526, allocations: 0 / 0.9818 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/0.3527, allocations: 32 kB / 0.9818 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.3528, allocations: 20 kB / 0.9818 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.3554, allocations: 0.9368 MB / 0.9828 GB, free: 10.93 MB / 0.6355 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.008373/0.3638, allocations: 5.148 MB / 0.9878 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.3659, allocations: 0.6941 MB / 0.9885 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002876/0.3688, allocations: 1.828 MB / 0.9902 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.37, allocations: 469.4 kB / 0.9907 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004053/0.3704, allocations: 75.41 kB / 0.9908 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 3.496e-06/0.3704, allocations: 0 / 0.9908 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.003285/0.3737, allocations: 1.257 MB / 0.992 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.3738, allocations: 89.11 kB / 0.9921 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.3757, allocations: 1.335 MB / 0.9934 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.608e-05/0.3758, allocations: 33.7 kB / 0.9934 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/0.3764, allocations: 0.6532 MB / 0.9941 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.3766, allocations: 138 kB / 0.9942 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.3766, allocations: 12 kB / 0.9942 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3767, allocations: 334 kB / 0.9945 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.3777, allocations: 361 kB / 0.9949 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.379, allocations: 0.6117 MB / 0.9955 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.38, allocations: 430.2 kB / 0.9959 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.3801, allocations: 0 / 0.9959 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002751/0.3828, allocations: 1.128 MB / 0.997 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009946/0.3838, allocations: 2.707 MB / 0.9996 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.3839, allocations: 8 kB / 0.9996 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.3839, allocations: 15.95 kB / 0.9996 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/0.3847, allocations: 203.7 kB / 0.9998 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3847, allocations: 8 kB / 0.9998 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.3859, allocations: 120.5 kB / 0.9999 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.386, allocations: 43.97 kB / 1 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.386, allocations: 4 kB / 1 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002124/0.3881, allocations: 0.9543 MB / 1.001 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3881, allocations: 8 kB / 1.001 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3882, allocations: 8 kB / 1.001 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.3888, allocations: 195.8 kB / 1.001 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.3889, allocations: 15.98 kB / 1.001 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.3899, allocations: 108.5 kB / 1.001 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.39, allocations: 39.98 kB / 1.001 GB, free: 7.062 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008386/0.3908, allocations: 498.5 kB / 1.002 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.3911, allocations: 134.3 kB / 1.002 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.3939, allocations: 1.075 MB / 1.003 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.3939, allocations: 8 kB / 1.003 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3939, allocations: 0 / 1.003 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3939, allocations: 0 / 1.003 GB, free: 5.34 MB / 0.6511 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 postOpt removeSimpleEquations (simulation): time 0.004938/0.3989, allocations: 2.255 MB / 1.005 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3989, allocations: 4 kB / 1.005 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.3995, allocations: 139.9 kB / 1.005 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.3996, allocations: 4 kB / 1.005 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.3996, allocations: 23.94 kB / 1.005 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.3996, allocations: 0 / 1.005 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3996, allocations: 4 kB / 1.005 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.4023, allocations: 1.147 MB / 1.006 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/0.4031, allocations: 331.2 kB / 1.007 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.4034, allocations: 12 kB / 1.007 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.4046, allocations: 115.9 kB / 1.007 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4047, allocations: 43.89 kB / 1.007 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/0.4048, allocations: 27.97 kB / 1.007 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001807/0.4066, allocations: 0.9106 MB / 1.008 GB, free: 160 kB / 0.6511 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4066, allocations: 0 / 1.008 GB, free: 160 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002949/0.4095, allocations: 0.6977 MB / 1.009 GB, free: 15.46 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004819/0.4144, allocations: 2.315 MB / 1.011 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003843/0.4182, allocations: 1.466 MB / 1.012 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.4183, allocations: 0 / 1.012 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.4195, allocations: 0.4925 MB / 1.013 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/0.4227, allocations: 0.6186 MB / 1.013 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/0.4323, allocations: 7.988 MB / 1.021 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.4334, allocations: 1.233 MB / 1.022 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001744/0.4351, allocations: 309.5 kB / 1.023 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009515/0.4361, allocations: 0.5344 MB / 1.023 GB, free: 208 kB / 0.6667 GB Notification: Performance of SimCode: time 1.252e-06/0.4361, allocations: 0 / 1.023 GB, free: 208 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5069/0.9431, allocations: 38.79 MB / 1.061 GB, free: 145.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.9433, allocations: 278 kB / 1.061 GB, free: 145.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/4.213, allocations: 0 / 1.061 GB, free: 145.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)