Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.017/3.017, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.00238/0.00238, allocations: 187.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 93.72 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004846, allocations: 10.52 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2198, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.09603/0.3159, allocations: 48.05 MB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0333/0.3492, allocations: 15.38 MB / 1.04 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.352, allocations: 59.56 kB / 1.04 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004551/0.3566, allocations: 0.8865 MB / 1.041 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009915/0.3666, allocations: 2.199 MB / 1.043 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01237/0.379, allocations: 2.799 MB / 1.046 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006291/0.3853, allocations: 2.272 MB / 1.048 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.3879, allocations: 1.026 MB / 1.049 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.3918, allocations: 1.098 MB / 1.05 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.3938, allocations: 0.696 MB / 1.051 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003885/0.3942, allocations: 52 kB / 1.051 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004107/0.3983, allocations: 1.081 MB / 1.052 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008018/0.3992, allocations: 310.8 kB / 1.052 GB, free: 344 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007998/0.4, allocations: 357 kB / 1.053 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005062/0.4051, allocations: 2.303 MB / 1.055 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4051, allocations: 0 / 1.055 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.504e-06/0.4051, allocations: 0 / 1.055 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.688e-05/0.4052, allocations: 0 / 1.055 GB, free: 13.67 MB / 0.6823 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.005552/0.4108, allocations: 1.819 MB / 1.057 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.4108, allocations: 12.02 kB / 1.057 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/0.4146, allocations: 401.6 kB / 1.057 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004627/0.4193, allocations: 1.461 MB / 1.058 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001282/0.4206, allocations: 197.9 kB / 1.059 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/0.421, allocations: 88 kB / 1.059 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/0.4253, allocations: 1.107 MB / 1.06 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.4253, allocations: 0 / 1.06 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.4255, allocations: 32 kB / 1.06 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.4255, allocations: 24 kB / 1.06 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004713/0.4303, allocations: 0.9368 MB / 1.061 GB, free: 7.449 MB / 0.6823 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.01257/0.4429, allocations: 5.059 MB / 1.066 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.4469, allocations: 0.7 MB / 1.066 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.628/1.075, allocations: 1.816 MB / 1.068 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00243/1.077, allocations: 480.4 kB / 1.069 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007462/1.078, allocations: 76.52 kB / 1.069 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 5.571e-06/1.078, allocations: 2.344 kB / 1.069 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.006528/1.085, allocations: 1.25 MB / 1.07 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/1.085, allocations: 84.36 kB / 1.07 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/1.088, allocations: 1.323 MB / 1.071 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002061/1.088, allocations: 39.42 kB / 1.071 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008409/1.089, allocations: 0.6503 MB / 1.072 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/1.09, allocations: 151.5 kB / 1.072 GB, free: 88.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/1.09, allocations: 11.58 kB / 1.072 GB, free: 88.22 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/1.09, allocations: 331.9 kB / 1.072 GB, free: 87.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/1.092, allocations: 360.9 kB / 1.073 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/1.094, allocations: 0.6097 MB / 1.073 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/1.096, allocations: 437.9 kB / 1.074 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/1.096, allocations: 2.812 kB / 1.074 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005492/1.102, allocations: 1.132 MB / 1.075 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006509/1.103, allocations: 2.694 MB / 1.078 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/1.103, allocations: 6.938 kB / 1.078 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.858e-05/1.103, allocations: 11.58 kB / 1.078 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.105, allocations: 201.5 kB / 1.078 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.558e-05/1.105, allocations: 19.06 kB / 1.078 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/1.107, allocations: 126.6 kB / 1.078 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/1.107, allocations: 38.33 kB / 1.078 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.107, allocations: 4.812 kB / 1.078 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004235/1.111, allocations: 0.9564 MB / 1.079 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/1.111, allocations: 6.562 kB / 1.079 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.111, allocations: 11.36 kB / 1.079 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.113, allocations: 194.5 kB / 1.079 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/1.113, allocations: 15.94 kB / 1.079 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.115, allocations: 124.2 kB / 1.079 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/1.115, allocations: 35.91 kB / 1.079 GB, free: 83.67 MB / 0.6823 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 (76): * Single equations (assignments): 74 * 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.00116/1.116, allocations: 498.6 kB / 1.08 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/1.117, allocations: 134.8 kB / 1.08 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005024/1.122, allocations: 1.066 MB / 1.081 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/1.122, allocations: 10.53 kB / 1.081 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.122, allocations: 1.375 kB / 1.081 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/1.122, allocations: 2.328 kB / 1.081 GB, free: 82.87 MB / 0.6823 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.00834/1.13, allocations: 2.273 MB / 1.083 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.13, allocations: 1.734 kB / 1.083 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.132, allocations: 139.1 kB / 1.083 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/1.132, allocations: 2.688 kB / 1.083 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/1.132, allocations: 16.42 kB / 1.083 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/1.132, allocations: 3.875 kB / 1.083 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.132, allocations: 1.906 kB / 1.083 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005005/1.137, allocations: 1.156 MB / 1.084 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.138, allocations: 329.8 kB / 1.085 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004392/1.138, allocations: 10.33 kB / 1.085 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.141, allocations: 122.6 kB / 1.085 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/1.141, allocations: 34.12 kB / 1.085 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.141, allocations: 29.05 kB / 1.085 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002382/1.143, allocations: 0.915 MB / 1.086 GB, free: 80.49 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.51e-07/1.144, allocations: 3.938 kB / 1.086 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003564/1.147, allocations: 0.7106 MB / 1.087 GB, free: 80.37 MB / 0.6823 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.001651/1.149, allocations: 481.4 kB / 1.087 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006564/1.155, allocations: 1.468 MB / 1.088 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.155, allocations: 1 kB / 1.088 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/1.158, allocations: 499.3 kB / 1.089 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005221/1.163, allocations: 0.607 MB / 1.089 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008543/1.172, allocations: 2.78 MB / 1.092 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/1.173, allocations: 1.237 MB / 1.093 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002591/1.176, allocations: 307.2 kB / 1.094 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006825/1.176, allocations: 107.6 kB / 1.094 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/1.176, allocations: 1.219 kB / 1.094 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of Templates: time 0.07507/1.251, allocations: 26.89 MB / 1.12 GB, free: 65.21 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)