Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",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.352/1.352, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 176.9 kB / 316.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.3 MB / 0.5671 GB, free: 15.94 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.0009713/0.0009713, allocations: 85.06 kB / 0.6714 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.66e-05, allocations: 3.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.179, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/1.534, allocations: 435.7 MB / 1.311 GB, free: 308.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.534, allocations: 96.72 kB / 1.311 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.215/3.749, allocations: 0.6709 GB / 1.982 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.243e-06/3.749, allocations: 2.297 kB / 1.982 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001528/3.749, allocations: 44.91 kB / 1.982 GB, free: 161.2 MB / 0.8698 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.003001/3.752, allocations: 1.714 MB / 1.984 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/3.752, allocations: 11.38 kB / 1.984 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/3.754, allocations: 346.4 kB / 1.984 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/3.77, allocations: 8.356 MB / 1.992 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/3.77, allocations: 27.41 kB / 1.992 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/3.77, allocations: 51.84 kB / 1.992 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001119/3.771, allocations: 0.6178 MB / 1.993 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/3.772, allocations: 0.8569 MB / 1.994 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/3.772, allocations: 1.594 kB / 1.994 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/3.772, allocations: 3.969 kB / 1.994 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/3.772, allocations: 21.56 kB / 1.994 GB, free: 159.7 MB / 0.8698 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.005456/3.778, allocations: 4.56 MB / 1.998 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/3.779, allocations: 448.2 kB / 1.998 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/3.779, allocations: 243 kB / 1.999 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001933/3.781, allocations: 1.649 MB / 2 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/3.781, allocations: 362.6 kB / 2.001 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00028/3.782, allocations: 64.45 kB / 2.001 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.735e-06/3.782, allocations: 0 / 2.001 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001658/3.783, allocations: 0.7238 MB / 2.001 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/3.783, allocations: 116.6 kB / 2.002 GB, free: 156 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/3.784, allocations: 0.9602 MB / 2.002 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/3.784, allocations: 29.42 kB / 2.003 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/3.785, allocations: 0.6626 MB / 2.003 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/3.785, allocations: 149.3 kB / 2.003 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/3.785, allocations: 3.844 kB / 2.003 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/3.785, allocations: 331.3 kB / 2.004 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/3.785, allocations: 204.4 kB / 2.004 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/3.786, allocations: 485.3 kB / 2.004 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009267/3.787, allocations: 343.9 kB / 2.005 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/3.787, allocations: 3.969 kB / 2.005 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001629/3.788, allocations: 0.8919 MB / 2.005 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006691/3.789, allocations: 2.778 MB / 2.008 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/3.789, allocations: 9.75 kB / 2.008 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002695/3.789, allocations: 74.53 kB / 2.008 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/3.79, allocations: 153.6 kB / 2.008 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006133/3.791, allocations: 1.138 MB / 2.01 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/3.791, allocations: 67.61 kB / 2.01 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/3.791, allocations: 49.27 kB / 2.01 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/3.791, allocations: 3.531 kB / 2.01 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001467/3.793, allocations: 0.7209 MB / 2.01 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/3.793, allocations: 7.125 kB / 2.01 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/3.793, allocations: 74.92 kB / 2.01 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/3.794, allocations: 155 kB / 2.011 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005784/3.794, allocations: 1.139 MB / 2.012 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/3.795, allocations: 76.33 kB / 2.012 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/3.795, allocations: 46.12 kB / 2.012 GB, free: 149.8 MB / 0.8698 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.0002243/3.795, allocations: 165.9 kB / 2.012 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001428/3.797, allocations: 0.7016 MB / 2.013 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/3.797, allocations: 130.3 kB / 2.013 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/3.799, allocations: 0.8388 MB / 2.014 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/3.799, allocations: 18.92 kB / 2.014 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/3.799, allocations: 0 / 2.014 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/3.799, allocations: 0 / 2.014 GB, free: 149.4 MB / 0.8698 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.002854/3.802, allocations: 1.853 MB / 2.015 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/3.802, allocations: 0 / 2.015 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/3.802, allocations: 102.9 kB / 2.016 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/3.802, allocations: 70.23 kB / 2.016 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/3.802, allocations: 11.64 kB / 2.016 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006375/3.803, allocations: 1.134 MB / 2.017 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/3.803, allocations: 2.719 kB / 2.017 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/3.804, allocations: 1.028 MB / 2.018 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/3.805, allocations: 293.1 kB / 2.018 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/3.805, allocations: 3.625 kB / 2.018 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/3.806, allocations: 81.52 kB / 2.018 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/3.806, allocations: 40.81 kB / 2.018 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/3.806, allocations: 35.41 kB / 2.018 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008936/3.807, allocations: 0.7415 MB / 2.019 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/3.807, allocations: 0 / 2.019 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002191/3.809, allocations: 0.7302 MB / 2.02 GB, free: 147 MB / 0.8698 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.002917/3.812, allocations: 2.744 MB / 2.022 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001462/3.813, allocations: 1.074 MB / 2.023 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/3.813, allocations: 0 / 2.023 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/3.814, allocations: 374.4 kB / 2.024 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/3.816, allocations: 0.5412 MB / 2.024 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/3.819, allocations: 1.957 MB / 2.026 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/3.82, allocations: 1.235 MB / 2.027 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001575/3.821, allocations: 399.5 kB / 2.028 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/3.822, allocations: 0.4963 MB / 2.028 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of SimCode: time 8.41e-07/3.822, allocations: 1.219 kB / 2.028 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/3.883, allocations: 39.96 MB / 2.067 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/3.883, allocations: 221.4 kB / 2.067 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/7.085, allocations: 0 / 2.067 GB, free: 142.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)