Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.347/2.347, allocations: 253.2 MB / 260.6 MB, free: 7.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 192 kB / 319.9 MB, free: 3.023 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.5 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001864/0.001864, allocations: 97.25 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.164e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2003, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.968/2.168, allocations: 435.5 MB / 1.314 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/2.169, allocations: 93.91 kB / 1.314 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.539/5.708, allocations: 0.671 GB / 1.985 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.444e-06/5.708, allocations: 1.969 kB / 1.985 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002814/5.708, allocations: 38.55 kB / 1.985 GB, free: 165.3 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.00532/5.714, allocations: 1.712 MB / 1.987 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/5.714, allocations: 7.344 kB / 1.987 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/5.717, allocations: 351.2 kB / 1.987 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02753/5.744, allocations: 8.349 MB / 1.995 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.12e-05/5.744, allocations: 25.19 kB / 1.995 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/5.745, allocations: 53.81 kB / 1.995 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001918/5.747, allocations: 0.6238 MB / 1.996 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/5.749, allocations: 0.8548 MB / 1.997 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/5.749, allocations: 0 / 1.997 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/5.749, allocations: 3.594 kB / 1.997 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/5.749, allocations: 20.44 kB / 1.997 GB, free: 163.6 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.009618/5.759, allocations: 4.559 MB / 2.001 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/5.76, allocations: 456 kB / 2.002 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/5.76, allocations: 234.9 kB / 2.002 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003755/5.764, allocations: 1.644 MB / 2.004 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007642/5.765, allocations: 361.8 kB / 2.004 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000883/5.766, allocations: 67.09 kB / 2.004 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 4.598e-06/5.766, allocations: 0 / 2.004 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.003265/5.769, allocations: 0.7187 MB / 2.005 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/5.769, allocations: 113.8 kB / 2.005 GB, free: 160 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/5.771, allocations: 0.9605 MB / 2.006 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002344/5.772, allocations: 32.48 kB / 2.006 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/5.772, allocations: 0.6614 MB / 2.006 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/5.773, allocations: 149.8 kB / 2.007 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/5.773, allocations: 0 / 2.007 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/5.773, allocations: 330.6 kB / 2.007 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/5.773, allocations: 206.2 kB / 2.007 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/5.774, allocations: 486 kB / 2.008 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/5.776, allocations: 351.2 kB / 2.008 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/5.776, allocations: 0 / 2.008 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003196/5.779, allocations: 0.8885 MB / 2.009 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007809/5.78, allocations: 2.782 MB / 2.011 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/5.78, allocations: 7.656 kB / 2.011 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/5.78, allocations: 79.67 kB / 2.012 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/5.781, allocations: 157.2 kB / 2.012 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009206/5.782, allocations: 1.133 MB / 2.013 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/5.784, allocations: 66.27 kB / 2.013 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/5.784, allocations: 41.75 kB / 2.013 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/5.784, allocations: 12.17 kB / 2.013 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002761/5.787, allocations: 0.715 MB / 2.014 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/5.787, allocations: 6.406 kB / 2.014 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/5.788, allocations: 72.94 kB / 2.014 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/5.789, allocations: 159.1 kB / 2.014 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008627/5.79, allocations: 1.144 MB / 2.015 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/5.791, allocations: 70.12 kB / 2.015 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/5.791, allocations: 41.31 kB / 2.015 GB, free: 153.7 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.0003746/5.792, allocations: 160.3 kB / 2.015 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/5.792, allocations: 140.1 kB / 2.015 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/5.795, allocations: 0.8524 MB / 2.016 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/5.795, allocations: 2.938 kB / 2.016 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/5.795, allocations: 3.5 kB / 2.016 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/5.795, allocations: 3.797 kB / 2.016 GB, free: 153.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.005469/5.801, allocations: 1.853 MB / 2.018 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/5.801, allocations: 0 / 2.018 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/5.802, allocations: 100.6 kB / 2.018 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/5.802, allocations: 74.58 kB / 2.018 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/5.802, allocations: 9.844 kB / 2.018 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008785/5.803, allocations: 1.137 MB / 2.019 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/5.803, allocations: 4.156 kB / 2.019 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/5.806, allocations: 1.025 MB / 2.02 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/5.807, allocations: 291.7 kB / 2.021 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/5.808, allocations: 10.31 kB / 2.021 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/5.809, allocations: 83.06 kB / 2.021 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/5.81, allocations: 34.56 kB / 2.021 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/5.81, allocations: 36.17 kB / 2.021 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001655/5.812, allocations: 0.743 MB / 2.021 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.22e-07/5.812, allocations: 0 / 2.021 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004091/5.816, allocations: 0.733 MB / 2.022 GB, free: 151.1 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.002644/5.818, allocations: 0.9678 MB / 2.023 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00278/5.821, allocations: 1.085 MB / 2.024 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/5.821, allocations: 0 / 2.024 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008897/5.822, allocations: 369.6 kB / 2.024 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00444/5.827, allocations: 0.5497 MB / 2.025 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/5.831, allocations: 1.6 MB / 2.027 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008929/5.832, allocations: 1.234 MB / 2.028 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003411/5.836, allocations: 404.8 kB / 2.028 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/5.836, allocations: 81.05 kB / 2.028 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/5.836, allocations: 4.719 kB / 2.028 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.07092/5.907, allocations: 27.91 MB / 2.056 GB, free: 148.1 MB / 0.8698 GB