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: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.000948/0.000948, allocations: 172.8 kB / 366.7 MB, free: 1.637 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.42/1.42, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008485/0.0008486, allocations: 92.94 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.195e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6425, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9911/1.634, allocations: 443.4 MB / 1.406 GB, free: 114 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.634, allocations: 94.88 kB / 1.406 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.322/3.956, allocations: 0.6899 GB / 2.096 GB, free: 191 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/3.956, allocations: 0 / 2.096 GB, free: 191 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001505/3.957, allocations: 39.53 kB / 2.096 GB, free: 191 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.00271/3.959, allocations: 1.715 MB / 2.098 GB, free: 190.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/3.959, allocations: 11.41 kB / 2.098 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/3.961, allocations: 339.7 kB / 2.098 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/3.976, allocations: 8.532 MB / 2.107 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/3.976, allocations: 30.62 kB / 2.107 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/3.976, allocations: 57.81 kB / 2.107 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001021/3.977, allocations: 0.6126 MB / 2.107 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/3.978, allocations: 0.8549 MB / 2.108 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/3.978, allocations: 0 / 2.108 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/3.978, allocations: 5.156 kB / 2.108 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/3.978, allocations: 20.03 kB / 2.108 GB, free: 189.3 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.004719/3.983, allocations: 4.566 MB / 2.113 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/3.984, allocations: 449.8 kB / 2.113 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/3.984, allocations: 241.9 kB / 2.113 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/3.986, allocations: 1.641 MB / 2.115 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/3.986, allocations: 360.9 kB / 2.115 GB, free: 185.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002819/3.986, allocations: 65.05 kB / 2.115 GB, free: 185.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/3.986, allocations: 0 / 2.115 GB, free: 185.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001746/3.988, allocations: 0.7222 MB / 2.116 GB, free: 185.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/3.988, allocations: 113.1 kB / 2.116 GB, free: 185.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/3.989, allocations: 0.9669 MB / 2.117 GB, free: 185.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/3.989, allocations: 25.7 kB / 2.117 GB, free: 185.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/3.99, allocations: 0.6556 MB / 2.118 GB, free: 185.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/3.99, allocations: 155.7 kB / 2.118 GB, free: 185.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/3.99, allocations: 0 / 2.118 GB, free: 185.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/3.99, allocations: 339.6 kB / 2.118 GB, free: 184.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/3.991, allocations: 206.6 kB / 2.118 GB, free: 184.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/3.991, allocations: 488 kB / 2.119 GB, free: 184.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008841/3.992, allocations: 342.3 kB / 2.119 GB, free: 184.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/3.992, allocations: 0 / 2.119 GB, free: 184.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001676/3.994, allocations: 0.8829 MB / 2.12 GB, free: 184.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007613/3.994, allocations: 2.789 MB / 2.123 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/3.994, allocations: 5.875 kB / 2.123 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002772/3.995, allocations: 73.09 kB / 2.123 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/3.995, allocations: 158 kB / 2.123 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005443/3.996, allocations: 1.137 MB / 2.124 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/3.997, allocations: 71.52 kB / 2.124 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/3.997, allocations: 47.66 kB / 2.124 GB, free: 180.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/3.997, allocations: 3.312 kB / 2.124 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/3.998, allocations: 0.7218 MB / 2.125 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/3.998, allocations: 7.531 kB / 2.125 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/3.998, allocations: 77.09 kB / 2.125 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/3.999, allocations: 151.1 kB / 2.125 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004963/3.999, allocations: 1.138 MB / 2.126 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/4, allocations: 66.22 kB / 2.126 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/4, allocations: 40.39 kB / 2.126 GB, free: 179.4 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.0001706/4, allocations: 171.1 kB / 2.126 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/4, allocations: 126.4 kB / 2.127 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/4.002, allocations: 0.8589 MB / 2.127 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/4.002, allocations: 10.55 kB / 2.127 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/4.002, allocations: 0 / 2.127 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/4.002, allocations: 3.281 kB / 2.127 GB, free: 179.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 postOpt removeSimpleEquations (simulation): time 0.002492/4.004, allocations: 1.856 MB / 2.129 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/4.004, allocations: 3.844 kB / 2.129 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/4.005, allocations: 100.9 kB / 2.129 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/4.005, allocations: 69.58 kB / 2.129 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/4.005, allocations: 11.25 kB / 2.129 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005232/4.006, allocations: 1.139 MB / 2.131 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/4.006, allocations: 7.406 kB / 2.131 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/4.007, allocations: 1.025 MB / 2.132 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/4.007, allocations: 299 kB / 2.132 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/4.007, allocations: 7.516 kB / 2.132 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007089/4.008, allocations: 68.92 kB / 2.132 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/4.008, allocations: 42.2 kB / 2.132 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/4.008, allocations: 29.97 kB / 2.132 GB, free: 177 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008215/4.009, allocations: 0.739 MB / 2.133 GB, free: 176.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/4.009, allocations: 0 / 2.133 GB, free: 176.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002064/4.011, allocations: 0.7626 MB / 2.133 GB, free: 176.7 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.001381/4.013, allocations: 0.9667 MB / 2.134 GB, free: 176.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001397/4.014, allocations: 1.082 MB / 2.135 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/4.014, allocations: 3.562 kB / 2.135 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/4.014, allocations: 367.7 kB / 2.136 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/4.017, allocations: 0.5362 MB / 2.136 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/4.019, allocations: 1.615 MB / 2.138 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/4.02, allocations: 1.237 MB / 2.139 GB, free: 175 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00158/4.021, allocations: 404.9 kB / 2.14 GB, free: 175 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/4.021, allocations: 83.5 kB / 2.14 GB, free: 175 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/4.021, allocations: 3.938 kB / 2.14 GB, free: 175 MB / 0.948 GB Notification: Performance of Templates: time 0.04701/4.068, allocations: 28.02 MB / 2.167 GB, free: 173.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (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 & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)