Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 169.2 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008216/0.0008216, allocations: 106.8 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 10.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.04346/0.2562, allocations: 48.05 MB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02924/0.2855, allocations: 15.39 MB / 1.041 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003489/0.289, allocations: 51.62 kB / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004309/0.2934, allocations: 0.8904 MB / 1.042 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009398/0.3028, allocations: 2.191 MB / 1.044 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01058/0.3134, allocations: 2.807 MB / 1.047 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006123/0.3196, allocations: 2.272 MB / 1.049 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.3226, allocations: 1.014 MB / 1.05 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.3262, allocations: 1.102 MB / 1.052 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.3282, allocations: 0.6999 MB / 1.052 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005127/0.3287, allocations: 52 kB / 1.052 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00377/0.3325, allocations: 1.084 MB / 1.053 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007832/0.3333, allocations: 310.8 kB / 1.054 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.3343, allocations: 356.8 kB / 1.054 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00453/0.3389, allocations: 2.299 MB / 1.056 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3389, allocations: 4 kB / 1.056 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3389, allocations: 0 / 1.056 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.997e-05/0.339, allocations: 0 / 1.056 GB, free: 12.91 MB / 0.6823 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.005342/0.3444, allocations: 1.834 MB / 1.058 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.3445, allocations: 8.031 kB / 1.058 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004303/0.3449, allocations: 127.1 kB / 1.058 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.3469, allocations: 405.6 kB / 1.058 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003758/0.3507, allocations: 1.453 MB / 1.06 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007313/0.3514, allocations: 201.9 kB / 1.06 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002782/0.3517, allocations: 92 kB / 1.06 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.3545, allocations: 1.099 MB / 1.061 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3545, allocations: 4 kB / 1.061 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.3547, allocations: 35.98 kB / 1.061 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3547, allocations: 20 kB / 1.061 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.3574, allocations: 0.9329 MB / 1.062 GB, free: 6.543 MB / 0.6823 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.008618/0.366, allocations: 5.051 MB / 1.067 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.3681, allocations: 0.6994 MB / 1.068 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5058/0.874, allocations: 1.821 MB / 1.07 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.8755, allocations: 477.9 kB / 1.07 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004701/0.876, allocations: 70.52 kB / 1.07 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.887e-06/0.876, allocations: 4.438 kB / 1.07 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.003461/0.8795, allocations: 1.254 MB / 1.071 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.8795, allocations: 83.31 kB / 1.071 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.8816, allocations: 1.329 MB / 1.073 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.8817, allocations: 38.95 kB / 1.073 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006333/0.8824, allocations: 0.6485 MB / 1.073 GB, free: 87.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.8825, allocations: 148.1 kB / 1.074 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.8825, allocations: 10.69 kB / 1.074 GB, free: 87.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.8826, allocations: 339.2 kB / 1.074 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.8837, allocations: 356.2 kB / 1.074 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.8849, allocations: 0.6082 MB / 1.075 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.8861, allocations: 437.6 kB / 1.075 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.8862, allocations: 2.109 kB / 1.075 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003062/0.8892, allocations: 1.131 MB / 1.076 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006075/0.8899, allocations: 2.7 MB / 1.079 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.8899, allocations: 7.703 kB / 1.079 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.323e-05/0.8899, allocations: 15.16 kB / 1.079 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000925/0.8909, allocations: 199.1 kB / 1.079 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.59e-05/0.8909, allocations: 16.5 kB / 1.079 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8921, allocations: 127.7 kB / 1.079 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.8922, allocations: 40.16 kB / 1.079 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.8922, allocations: 4.688 kB / 1.079 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002426/0.8947, allocations: 0.9579 MB / 1.08 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.8947, allocations: 7.531 kB / 1.08 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.8947, allocations: 11.2 kB / 1.08 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.8955, allocations: 188.9 kB / 1.081 GB, free: 83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.8955, allocations: 11.08 kB / 1.081 GB, free: 83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.8966, allocations: 116.2 kB / 1.081 GB, free: 82.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/0.8967, allocations: 37.03 kB / 1.081 GB, free: 82.99 MB / 0.6823 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 (76): * Single equations (assignments): 74 * 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.0009095/0.8976, allocations: 496.7 kB / 1.081 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.8979, allocations: 139.2 kB / 1.081 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.9008, allocations: 1.07 MB / 1.082 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.9009, allocations: 5.031 kB / 1.082 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9009, allocations: 5.906 kB / 1.082 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.9009, allocations: 2.531 kB / 1.082 GB, free: 82.18 MB / 0.6823 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.00482/0.9057, allocations: 2.274 MB / 1.085 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.9057, allocations: 1.188 kB / 1.085 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.9064, allocations: 139.6 kB / 1.085 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.9064, allocations: 2.922 kB / 1.085 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/0.9065, allocations: 23.55 kB / 1.085 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.9065, allocations: 3.406 kB / 1.085 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9065, allocations: 3.938 kB / 1.085 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.9092, allocations: 1.153 MB / 1.086 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006434/0.9098, allocations: 330 kB / 1.086 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.91, allocations: 14.19 kB / 1.086 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009656/0.911, allocations: 122.6 kB / 1.086 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.9111, allocations: 35.94 kB / 1.086 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.9112, allocations: 28.69 kB / 1.086 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001699/0.9129, allocations: 0.9108 MB / 1.087 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9129, allocations: 0 / 1.087 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002809/0.9158, allocations: 0.7118 MB / 1.088 GB, free: 79.68 MB / 0.6823 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.004044/0.9198, allocations: 2.325 MB / 1.09 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003925/0.9238, allocations: 1.47 MB / 1.092 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.9238, allocations: 1.5 kB / 1.092 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.9249, allocations: 498 kB / 1.092 GB, free: 77.53 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/0.9279, allocations: 0.614 MB / 1.093 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/0.9354, allocations: 8.013 MB / 1.101 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009888/0.9364, allocations: 1.229 MB / 1.102 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001835/0.9383, allocations: 300.3 kB / 1.102 GB, free: 69.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007659/0.9391, allocations: 0.538 MB / 1.103 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of SimCode: time 1.342e-06/0.9391, allocations: 0 / 1.103 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07652/1.016, allocations: 39.06 MB / 1.141 GB, free: 44.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/1.016, allocations: 266 kB / 1.141 GB, free: 43.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/4.202, allocations: 7.375 kB / 1.141 GB, free: 43.69 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)