Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 252 MB / 267.6 MB, free: 10.92 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.001056/0.001056, allocations: 187.2 kB / 327.3 MB, free: 2.195 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.857/1.857, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0007453/0.0007452, allocations: 98.33 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 9 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2028, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.03732/0.2401, allocations: 52.76 MB / 0.9523 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.261, allocations: 16.34 MB / 0.9683 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/0.2637, allocations: 55.62 kB / 0.9684 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.2666, allocations: 0.6873 MB / 0.969 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005717/0.2723, allocations: 1.705 MB / 0.9707 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004833/0.2772, allocations: 1.381 MB / 0.972 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006059/0.2832, allocations: 4.308 MB / 0.9763 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.2857, allocations: 1.014 MB / 0.9772 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.2888, allocations: 1.233 MB / 0.9784 GB, free: 172 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.2908, allocations: 0.9762 MB / 0.9794 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004742/0.2913, allocations: 56 kB / 0.9795 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.2943, allocations: 1.033 MB / 0.9805 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006457/0.2949, allocations: 326.6 kB / 0.9808 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008526/0.2958, allocations: 364.8 kB / 0.9811 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.2992, allocations: 2.287 MB / 0.9834 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2992, allocations: 0 / 0.9834 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2992, allocations: 0 / 0.9834 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.954e-05/0.2993, allocations: 0 / 0.9834 GB, free: 11.12 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.004194/0.3035, allocations: 1.83 MB / 0.9851 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3036, allocations: 11.97 kB / 0.9852 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.3055, allocations: 401.7 kB / 0.9855 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/0.309, allocations: 1.503 MB / 0.987 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007037/0.3097, allocations: 205.9 kB / 0.9872 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.3099, allocations: 87.95 kB / 0.9873 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.3125, allocations: 1.118 MB / 0.9884 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.3126, allocations: 3.938 kB / 0.9884 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.3127, allocations: 36 kB / 0.9884 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.3127, allocations: 20 kB / 0.9884 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.3152, allocations: 0.9447 MB / 0.9894 GB, free: 4.812 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.0075/0.3227, allocations: 5.096 MB / 0.9943 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.3248, allocations: 0.7252 MB / 0.995 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009417/0.3257, allocations: 380.6 kB / 0.9954 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002713/0.3284, allocations: 1.821 MB / 0.9972 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.3296, allocations: 486.1 kB / 0.9976 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005112/0.3301, allocations: 79.34 kB / 0.9977 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 4.288e-06/0.3301, allocations: 0 / 0.9977 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.00319/0.3333, allocations: 1.193 MB / 0.9989 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3334, allocations: 85.11 kB / 0.999 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.3354, allocations: 1.293 MB / 1 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/0.3355, allocations: 37.7 kB / 1 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000654/0.3362, allocations: 0.657 MB / 1.001 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.3364, allocations: 145.9 kB / 1.001 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.3364, allocations: 12 kB / 1.001 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3365, allocations: 330 kB / 1.001 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3375, allocations: 365.1 kB / 1.002 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.3387, allocations: 0.6195 MB / 1.002 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.3398, allocations: 442.1 kB / 1.003 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.3398, allocations: 0 / 1.003 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002631/0.3425, allocations: 1.151 MB / 1.004 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.3427, allocations: 326.4 kB / 1.004 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3427, allocations: 8 kB / 1.004 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.3428, allocations: 19.95 kB / 1.004 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/0.3435, allocations: 191.7 kB / 1.004 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.3436, allocations: 19.92 kB / 1.004 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.3447, allocations: 116.5 kB / 1.005 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.3448, allocations: 39.98 kB / 1.005 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.3448, allocations: 7.938 kB / 1.005 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002044/0.3469, allocations: 0.962 MB / 1.006 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3469, allocations: 8 kB / 1.006 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3469, allocations: 12 kB / 1.006 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.3476, allocations: 188 kB / 1.006 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.3476, allocations: 15.92 kB / 1.006 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.3486, allocations: 104.7 kB / 1.006 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.3487, allocations: 39.98 kB / 1.006 GB, free: 3.105 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.0007412/0.3495, allocations: 0.4933 MB / 1.006 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.3497, allocations: 134.3 kB / 1.006 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.3524, allocations: 1.084 MB / 1.008 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.3524, allocations: 8 kB / 1.008 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3524, allocations: 0 / 1.008 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3524, allocations: 3.984 kB / 1.008 GB, free: 1.363 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.004251/0.3567, allocations: 2.213 MB / 1.01 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3567, allocations: 0 / 1.01 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.3573, allocations: 143.9 kB / 1.01 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.3573, allocations: 0 / 1.01 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3574, allocations: 19.98 kB / 1.01 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.3574, allocations: 11.89 kB / 1.01 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3574, allocations: 0 / 1.01 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.3597, allocations: 1.106 MB / 1.011 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.3603, allocations: 311.2 kB / 1.011 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/0.3605, allocations: 8 kB / 1.011 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.3616, allocations: 123.9 kB / 1.011 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3617, allocations: 43.84 kB / 1.011 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.3618, allocations: 27.97 kB / 1.011 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001408/0.3632, allocations: 0.8833 MB / 1.012 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3632, allocations: 0 / 1.012 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002139/0.3653, allocations: 0.6705 MB / 1.013 GB, free: 11.67 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.001055/0.3664, allocations: 427.7 kB / 1.013 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003479/0.3699, allocations: 1.489 MB / 1.015 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3699, allocations: 4 kB / 1.015 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.371, allocations: 499.9 kB / 1.015 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.3742, allocations: 0.6214 MB / 1.016 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.3793, allocations: 2.821 MB / 1.019 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/0.3802, allocations: 1.198 MB / 1.02 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.3805, allocations: 115.4 kB / 1.02 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of SimCode: time 8.72e-07/0.3806, allocations: 0 / 1.02 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of Templates: time 0.03468/0.4152, allocations: 24.54 MB / 1.044 GB, free: 12.07 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)