Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001307/0.001307, allocations: 172.8 kB / 366.7 MB, free: 1.672 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.775/1.775, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008514/0.0008516, allocations: 86.06 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.715e-05, allocations: 0 / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9237/0.9237, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.386/2.31, allocations: 443.4 MB / 1.406 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/2.311, allocations: 94.81 kB / 1.406 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.941/5.252, allocations: 0.6898 GB / 2.096 GB, free: 190.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.635e-06/5.252, allocations: 0 / 2.096 GB, free: 190.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000232/5.252, allocations: 39.92 kB / 2.096 GB, free: 190.8 MB / 0.948 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.005131/5.258, allocations: 1.727 MB / 2.098 GB, free: 190 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.21e-05/5.258, allocations: 7.219 kB / 2.098 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/5.26, allocations: 349.3 kB / 2.098 GB, free: 189.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/5.279, allocations: 8.52 MB / 2.107 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/5.279, allocations: 27.16 kB / 2.107 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/5.279, allocations: 54.69 kB / 2.107 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001288/5.28, allocations: 0.6176 MB / 2.107 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/5.282, allocations: 0.8484 MB / 2.108 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/5.282, allocations: 1.5 kB / 2.108 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/5.282, allocations: 7.719 kB / 2.108 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/5.282, allocations: 21.06 kB / 2.108 GB, free: 189.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.00717/5.289, allocations: 4.564 MB / 2.113 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/5.29, allocations: 459.4 kB / 2.113 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/5.29, allocations: 230.3 kB / 2.113 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/5.292, allocations: 1.643 MB / 2.115 GB, free: 185.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005139/5.293, allocations: 364.4 kB / 2.115 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003736/5.293, allocations: 63.27 kB / 2.115 GB, free: 185.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.475e-06/5.293, allocations: 2.625 kB / 2.115 GB, free: 185.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001831/5.295, allocations: 0.7226 MB / 2.116 GB, free: 185.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/5.295, allocations: 113.9 kB / 2.116 GB, free: 185.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/5.297, allocations: 0.965 MB / 2.117 GB, free: 185.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/5.297, allocations: 28.42 kB / 2.117 GB, free: 185.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006106/5.297, allocations: 0.6547 MB / 2.118 GB, free: 185 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/5.297, allocations: 153.7 kB / 2.118 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/5.297, allocations: 6.656 kB / 2.118 GB, free: 184.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/5.297, allocations: 337.6 kB / 2.118 GB, free: 184.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/5.298, allocations: 207.1 kB / 2.118 GB, free: 184.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/5.298, allocations: 484 kB / 2.119 GB, free: 184.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009786/5.299, allocations: 346.4 kB / 2.119 GB, free: 184.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/5.299, allocations: 3.625 kB / 2.119 GB, free: 184.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00183/5.301, allocations: 0.8821 MB / 2.12 GB, free: 184.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007842/5.302, allocations: 2.778 MB / 2.123 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/5.302, allocations: 7.656 kB / 2.123 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/5.302, allocations: 81.03 kB / 2.123 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/5.303, allocations: 159.8 kB / 2.123 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006879/5.304, allocations: 1.131 MB / 2.124 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009725/5.305, allocations: 75.36 kB / 2.124 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/5.305, allocations: 47.75 kB / 2.124 GB, free: 180.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/5.305, allocations: 2.812 kB / 2.124 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001585/5.306, allocations: 0.7223 MB / 2.125 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/5.306, allocations: 7.016 kB / 2.125 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/5.306, allocations: 79.67 kB / 2.125 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/5.307, allocations: 150.1 kB / 2.125 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006437/5.308, allocations: 1.144 MB / 2.126 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/5.309, allocations: 60.55 kB / 2.126 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/5.309, allocations: 41.84 kB / 2.126 GB, free: 179.2 MB / 0.948 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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003079/5.309, allocations: 169.9 kB / 2.127 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001522/5.31, allocations: 0.7006 MB / 2.127 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/5.311, allocations: 128.6 kB / 2.127 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/5.313, allocations: 0.8514 MB / 2.128 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/5.313, allocations: 6.75 kB / 2.128 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/5.313, allocations: 0 / 2.128 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/5.313, allocations: 9.047 kB / 2.128 GB, free: 178.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004044/5.317, allocations: 1.849 MB / 2.13 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/5.317, allocations: 6.688 kB / 2.13 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/5.317, allocations: 106.4 kB / 2.13 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/5.318, allocations: 71.78 kB / 2.13 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/5.318, allocations: 13.78 kB / 2.13 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008848/5.319, allocations: 1.131 MB / 2.131 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/5.319, allocations: 10.09 kB / 2.131 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/5.321, allocations: 1.027 MB / 2.132 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/5.321, allocations: 296.2 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/5.321, allocations: 5.656 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000788/5.322, allocations: 74.17 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/5.322, allocations: 40.59 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/5.322, allocations: 34.16 kB / 2.133 GB, free: 176.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00127/5.324, allocations: 0.7367 MB / 2.133 GB, free: 176.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/5.324, allocations: 0 / 2.133 GB, free: 176.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003301/5.327, allocations: 0.756 MB / 2.134 GB, free: 176.4 MB / 0.948 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,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004145/5.331, allocations: 2.75 MB / 2.137 GB, free: 175 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001995/5.333, allocations: 1.076 MB / 2.138 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/5.333, allocations: 3.75 kB / 2.138 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005189/5.334, allocations: 365.1 kB / 2.138 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/5.336, allocations: 0.5377 MB / 2.139 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/5.341, allocations: 1.953 MB / 2.141 GB, free: 174.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/5.342, allocations: 1.241 MB / 2.142 GB, free: 173.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001807/5.343, allocations: 404.8 kB / 2.142 GB, free: 173.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006098/5.344, allocations: 0.4972 MB / 2.143 GB, free: 173.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/5.344, allocations: 0 / 2.143 GB, free: 173.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.092/5.436, allocations: 40.09 MB / 2.182 GB, free: 167.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/5.436, allocations: 220.5 kB / 2.182 GB, free: 167 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.624/9.061, allocations: 0 / 2.182 GB, free: 167 MB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)