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: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001127, allocations: 173.6 kB / 327.3 MB, free: 2.207 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.964/1.964, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008162/0.0008161, allocations: 90.28 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 8.719 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2229, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.038/0.261, allocations: 52.77 MB / 0.9524 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.2831, allocations: 16.33 MB / 0.9683 GB, free: 10.61 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.2861, allocations: 59.62 kB / 0.9684 GB, free: 10.55 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.2887, allocations: 0.6873 MB / 0.969 GB, free: 9.863 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.005747/0.2945, allocations: 1.705 MB / 0.9707 GB, free: 8.152 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.2991, allocations: 1.381 MB / 0.972 GB, free: 6.785 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.006492/0.3056, allocations: 4.308 MB / 0.9763 GB, free: 2.469 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/0.3082, allocations: 1.014 MB / 0.9772 GB, free: 1.43 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.3114, allocations: 1.229 MB / 0.9784 GB, free: 200 kB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.3136, allocations: 0.9801 MB / 0.9794 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004867/0.3141, allocations: 56 kB / 0.9795 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.3172, allocations: 1.029 MB / 0.9805 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004673/0.3177, allocations: 330.6 kB / 0.9808 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006648/0.3184, allocations: 356.8 kB / 0.9811 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.3212, allocations: 2.291 MB / 0.9834 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3212, allocations: 0 / 0.9834 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3213, allocations: 0 / 0.9834 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.49e-05/0.3213, allocations: 4 kB / 0.9834 GB, free: 11.14 MB / 0.6355 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.003278/0.3246, allocations: 1.826 MB / 0.9851 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3246, allocations: 8.031 kB / 0.9851 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.3262, allocations: 405.6 kB / 0.9855 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.3291, allocations: 1.504 MB / 0.987 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006833/0.3298, allocations: 197.9 kB / 0.9872 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.3299, allocations: 91.95 kB / 0.9873 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.3324, allocations: 1.122 MB / 0.9884 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.3324, allocations: 0 / 0.9884 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.3326, allocations: 40 kB / 0.9884 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.3326, allocations: 23.94 kB / 0.9884 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.3353, allocations: 0.9447 MB / 0.9894 GB, free: 4.832 MB / 0.6355 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.007044/0.3423, allocations: 5.096 MB / 0.9943 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.3444, allocations: 0.7252 MB / 0.995 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000953/0.3453, allocations: 380.6 kB / 0.9954 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002536/0.3479, allocations: 1.817 MB / 0.9972 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.349, allocations: 486.1 kB / 0.9976 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003648/0.3494, allocations: 79.34 kB / 0.9977 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.3494, allocations: 3.938 kB / 0.9977 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.003147/0.3526, allocations: 1.196 MB / 0.9989 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.3527, allocations: 85.11 kB / 0.999 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.3546, allocations: 1.289 MB / 1 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.696e-05/0.3546, allocations: 37.7 kB / 1 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.3553, allocations: 0.6609 MB / 1.001 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.3554, allocations: 145.9 kB / 1.001 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.3555, allocations: 12 kB / 1.001 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3557, allocations: 338 kB / 1.001 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.3567, allocations: 365.1 kB / 1.002 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.3579, allocations: 0.6156 MB / 1.002 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.359, allocations: 446.2 kB / 1.003 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.359, allocations: 3.938 kB / 1.003 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002764/0.3618, allocations: 1.143 MB / 1.004 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.3621, allocations: 326.5 kB / 1.004 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.3621, allocations: 8 kB / 1.004 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.3621, allocations: 15.95 kB / 1.004 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008203/0.363, allocations: 199.7 kB / 1.004 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.363, allocations: 15.92 kB / 1.004 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.3643, allocations: 122.1 kB / 1.005 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.3644, allocations: 43.97 kB / 1.005 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.3644, allocations: 6.656 kB / 1.005 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002137/0.3665, allocations: 0.9577 MB / 1.006 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3665, allocations: 12 kB / 1.006 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3666, allocations: 12 kB / 1.006 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.3672, allocations: 184.4 kB / 1.006 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.3673, allocations: 11.94 kB / 1.006 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.3683, allocations: 108.6 kB / 1.006 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/0.3684, allocations: 43.97 kB / 1.006 GB, free: 3.117 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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.0008751/0.3693, allocations: 494.5 kB / 1.006 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.3695, allocations: 138.2 kB / 1.006 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.3721, allocations: 1.086 MB / 1.008 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3721, allocations: 4 kB / 1.008 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3721, allocations: 0 / 1.008 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3721, allocations: 4 kB / 1.008 GB, free: 1.379 MB / 0.6511 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.004065/0.3762, allocations: 2.213 MB / 1.01 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3762, allocations: 3.938 kB / 1.01 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.3768, allocations: 136 kB / 1.01 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3769, allocations: 4 kB / 1.01 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.3769, allocations: 19.98 kB / 1.01 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.3769, allocations: 11.89 kB / 1.01 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3769, allocations: 0 / 1.01 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.3792, allocations: 1.106 MB / 1.011 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.3797, allocations: 311.3 kB / 1.011 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.3798, allocations: 16 kB / 1.011 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009016/0.3807, allocations: 115.9 kB / 1.011 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.3808, allocations: 43.83 kB / 1.011 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.3809, allocations: 23.98 kB / 1.011 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001232/0.3822, allocations: 0.8832 MB / 1.012 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3822, allocations: 4 kB / 1.012 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001784/0.384, allocations: 0.6705 MB / 1.013 GB, free: 11.69 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * 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.000864/0.3848, allocations: 431.4 kB / 1.013 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003304/0.3881, allocations: 1.489 MB / 1.015 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3882, allocations: 0 / 1.015 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.3892, allocations: 0.5003 MB / 1.015 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.3919, allocations: 0.6113 MB / 1.016 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.3964, allocations: 2.821 MB / 1.019 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.3972, allocations: 1.198 MB / 1.02 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.3975, allocations: 111.4 kB / 1.02 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of SimCode: time 1.052e-06/0.3975, allocations: 0 / 1.02 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of Templates: time 0.03675/0.4343, allocations: 24.54 MB / 1.044 GB, free: 12.09 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)