Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation",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.001169/0.001169, allocations: 100.3 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.001552/0.001552, 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.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.492/2.492, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6761/0.6765, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.04828/0.7248, allocations: 47.95 MB / 1 GB, free: 96 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01874/0.7436, allocations: 12.92 MB / 1.013 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002886/0.7465, allocations: 55.62 kB / 1.013 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003548/0.7501, allocations: 0.8398 MB / 1.014 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007882/0.758, allocations: 2.246 MB / 1.016 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006352/0.7644, allocations: 1.854 MB / 1.018 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00646/0.7708, allocations: 2.303 MB / 1.02 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.773, allocations: 1.026 MB / 1.021 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002566/0.7755, allocations: 1.105 MB / 1.022 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009497/0.7765, allocations: 0.6999 MB / 1.023 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.7767, allocations: 52 kB / 1.023 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.7792, allocations: 1.08 MB / 1.024 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.7795, allocations: 306.8 kB / 1.024 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.7799, allocations: 356.8 kB / 1.025 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.7825, allocations: 2.299 MB / 1.027 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7825, allocations: 0 / 1.027 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7825, allocations: 4 kB / 1.027 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.7826, allocations: 0 / 1.027 GB, free: 4.914 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003265/0.7858, allocations: 1.826 MB / 1.029 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7859, allocations: 12.03 kB / 1.029 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.7861, allocations: 127 kB / 1.029 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002266/0.7883, allocations: 493.5 kB / 1.029 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.7911, allocations: 1.531 MB / 1.031 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006534/0.7918, allocations: 205.8 kB / 1.031 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.7919, allocations: 84 kB / 1.031 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.7943, allocations: 1.139 MB / 1.032 GB, free: 15.34 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.7943, allocations: 3.938 kB / 1.032 GB, free: 15.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.7944, allocations: 32 kB / 1.032 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.7944, allocations: 23.98 kB / 1.032 GB, free: 15.28 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.7973, allocations: 1.05 MB / 1.033 GB, free: 14.23 MB / 0.795 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.00729/0.8046, allocations: 5.201 MB / 1.038 GB, free: 8.742 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.8068, allocations: 0.734 MB / 1.039 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002529/0.8094, allocations: 1.862 MB / 1.041 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/0.8107, allocations: 0.5299 MB / 1.041 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004064/0.8111, allocations: 87.31 kB / 1.041 GB, free: 5.328 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 3.787e-06/0.8111, allocations: 0 / 1.041 GB, free: 5.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.003783/0.8149, allocations: 1.346 MB / 1.043 GB, free: 3.949 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.815, allocations: 110.8 kB / 1.043 GB, free: 3.816 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.8173, allocations: 1.332 MB / 1.044 GB, free: 2.473 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.504e-05/0.8174, allocations: 37.7 kB / 1.044 GB, free: 2.43 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006834/0.8181, allocations: 0.6493 MB / 1.045 GB, free: 1.773 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.8183, allocations: 145.9 kB / 1.045 GB, free: 1.629 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.8183, allocations: 12 kB / 1.045 GB, free: 1.617 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8185, allocations: 333.9 kB / 1.045 GB, free: 1.285 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.8196, allocations: 389.1 kB / 1.046 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.821, allocations: 0.6473 MB / 1.046 GB, free: 144 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.8223, allocations: 465.8 kB / 1.047 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.8223, allocations: 0 / 1.047 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003184/0.8255, allocations: 1.197 MB / 1.048 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.8268, allocations: 2.795 MB / 1.051 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.8268, allocations: 4 kB / 1.051 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.8268, allocations: 16 kB / 1.051 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/0.8278, allocations: 215.7 kB / 1.051 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.8279, allocations: 8 kB / 1.051 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.8293, allocations: 150.2 kB / 1.051 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.8294, allocations: 39.98 kB / 1.051 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.8294, allocations: 4 kB / 1.051 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002634/0.8321, allocations: 1.016 MB / 1.052 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.8321, allocations: 8 kB / 1.052 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8321, allocations: 8 kB / 1.052 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/0.833, allocations: 204.4 kB / 1.052 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.833, allocations: 23.83 kB / 1.052 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.8346, allocations: 120.5 kB / 1.052 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.8348, allocations: 35.98 kB / 1.052 GB, free: 9.668 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.001358/0.8361, allocations: 498.6 kB / 1.053 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006101/0.8367, allocations: 138.2 kB / 1.053 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.8406, allocations: 1.126 MB / 1.054 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.8406, allocations: 12 kB / 1.054 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/0.8406, allocations: 3.953 kB / 1.054 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.8407, allocations: 3.984 kB / 1.054 GB, free: 7.879 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 postOpt removeSimpleEquations (simulation): time 0.00573/0.8464, allocations: 2.446 MB / 1.057 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.8464, allocations: 7.938 kB / 1.057 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.8471, allocations: 155.9 kB / 1.057 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.8472, allocations: 4 kB / 1.057 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.8472, allocations: 19.98 kB / 1.057 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.8472, allocations: 4 kB / 1.057 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.8472, allocations: 3.938 kB / 1.057 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.8501, allocations: 1.297 MB / 1.058 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/0.8509, allocations: 335.4 kB / 1.058 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/0.8512, allocations: 12 kB / 1.058 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.8525, allocations: 135.9 kB / 1.059 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.8526, allocations: 43.81 kB / 1.059 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/0.8527, allocations: 31.97 kB / 1.059 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001553/0.8543, allocations: 0.9145 MB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8543, allocations: 0 / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002474/0.8568, allocations: 0.7173 MB / 1.06 GB, free: 1.578 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.004419/0.8612, allocations: 2.54 MB / 1.063 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004003/0.8652, allocations: 1.564 MB / 1.064 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.8652, allocations: 0.5625 kB / 1.064 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.8665, allocations: 0.5204 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.8696, allocations: 0.596 MB / 1.065 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009467/0.8791, allocations: 8.217 MB / 1.073 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.8803, allocations: 1.241 MB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00179/0.8822, allocations: 300.6 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009621/0.8831, allocations: 0.5305 MB / 1.075 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of SimCode: time 1.503e-06/0.8832, allocations: 0 / 1.075 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06801/0.9512, allocations: 39.02 MB / 1.113 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.9514, allocations: 257.6 kB / 1.114 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.631, allocations: 0 / 1.114 GB, free: 10.99 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)