Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.111/2.111, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001333, allocations: 184.8 kB / 325.8 MB, free: 2.754 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.527/2.527, allocations: 205.4 MB / 0.5767 GB, free: 20.69 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.0009463/0.0009462, allocations: 88.73 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006346, allocations: 12.62 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2014, allocations: 106.3 MB / 0.899 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.06233/0.2637, allocations: 52.77 MB / 0.9506 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0295/0.2933, allocations: 16.33 MB / 0.9665 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.2961, allocations: 55.62 kB / 0.9666 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003532/0.2996, allocations: 0.6834 MB / 0.9672 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007235/0.3069, allocations: 1.705 MB / 0.9689 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006307/0.3133, allocations: 1.38 MB / 0.9703 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008541/0.3218, allocations: 4.354 MB / 0.9745 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.3247, allocations: 1.107 MB / 0.9756 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003858/0.3286, allocations: 1.233 MB / 0.9768 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.3314, allocations: 0.9721 MB / 0.9777 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004517/0.3319, allocations: 56 kB / 0.9778 GB, free: 500 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.3359, allocations: 1.041 MB / 0.9788 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007366/0.3367, allocations: 318.7 kB / 0.9791 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007823/0.3375, allocations: 368.8 kB / 0.9795 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004492/0.342, allocations: 2.287 MB / 0.9817 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3421, allocations: 0 / 0.9817 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3421, allocations: 0 / 0.9817 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.081e-05/0.3421, allocations: 0 / 0.9817 GB, free: 12.47 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.005237/0.3474, allocations: 1.827 MB / 0.9835 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3474, allocations: 8.031 kB / 0.9835 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.3504, allocations: 406.5 kB / 0.9839 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004762/0.3552, allocations: 1.505 MB / 0.9853 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/0.3565, allocations: 205.9 kB / 0.9855 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.3568, allocations: 80 kB / 0.9856 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.3607, allocations: 1.114 MB / 0.9867 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.3607, allocations: 7.875 kB / 0.9867 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.3609, allocations: 36 kB / 0.9868 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.3609, allocations: 20 kB / 0.9868 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.3653, allocations: 0.9485 MB / 0.9877 GB, free: 6.168 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.01133/0.3767, allocations: 5.104 MB / 0.9927 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/0.3805, allocations: 0.7274 MB / 0.9934 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/0.3825, allocations: 382.3 kB / 0.9938 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003841/0.3863, allocations: 1.821 MB / 0.9955 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002097/0.3885, allocations: 489.4 kB / 0.996 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005915/0.3891, allocations: 71.41 kB / 0.9961 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 3.677e-06/0.3891, allocations: 4 kB / 0.9961 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.00588/0.395, allocations: 1.189 MB / 0.9972 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.3951, allocations: 89.11 kB / 0.9973 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.3979, allocations: 1.293 MB / 0.9986 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.3981, allocations: 37.7 kB / 0.9986 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009288/0.3991, allocations: 0.6532 MB / 0.9993 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.3993, allocations: 149.8 kB / 0.9994 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.3994, allocations: 12 kB / 0.9994 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3996, allocations: 334 kB / 0.9997 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.4016, allocations: 365.1 kB / 1 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.4038, allocations: 0.6156 MB / 1.001 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.4058, allocations: 442.1 kB / 1.001 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.4058, allocations: 4 kB / 1.001 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004739/0.4105, allocations: 1.139 MB / 1.002 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003235/0.4109, allocations: 340.8 kB / 1.003 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4109, allocations: 8 kB / 1.003 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.411, allocations: 12 kB / 1.003 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.4125, allocations: 195.7 kB / 1.003 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.4125, allocations: 19.86 kB / 1.003 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.4144, allocations: 120.5 kB / 1.003 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.4146, allocations: 35.98 kB / 1.003 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4146, allocations: 4 kB / 1.003 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003724/0.4184, allocations: 0.962 MB / 1.004 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4184, allocations: 8 kB / 1.004 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.4184, allocations: 12 kB / 1.004 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.4198, allocations: 180 kB / 1.004 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/0.4198, allocations: 19.88 kB / 1.004 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.4215, allocations: 116.5 kB / 1.004 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.4217, allocations: 32 kB / 1.004 GB, free: 4.453 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.001082/0.4228, allocations: 498.5 kB / 1.005 GB, free: 3.949 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.4231, allocations: 138.3 kB / 1.005 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.4278, allocations: 1.08 MB / 1.006 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.4278, allocations: 11.94 kB / 1.006 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4278, allocations: 0 / 1.006 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.4279, allocations: 3.984 kB / 1.006 GB, free: 2.711 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.007198/0.4351, allocations: 2.22 MB / 1.008 GB, free: 424 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.4351, allocations: 0 / 1.008 GB, free: 424 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.4363, allocations: 140 kB / 1.008 GB, free: 284 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.4364, allocations: 0 / 1.008 GB, free: 284 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-05/0.4364, allocations: 19.92 kB / 1.008 GB, free: 264 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.4365, allocations: 4 kB / 1.008 GB, free: 260 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4365, allocations: 0 / 1.008 GB, free: 260 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004392/0.4409, allocations: 1.114 MB / 1.009 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000756/0.4417, allocations: 307.3 kB / 1.01 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.4419, allocations: 12 kB / 1.01 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.4437, allocations: 119.9 kB / 1.01 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.4439, allocations: 47.64 kB / 1.01 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-05/0.444, allocations: 23.98 kB / 1.01 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002001/0.446, allocations: 0.8871 MB / 1.011 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.81e-07/0.446, allocations: 0 / 1.011 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00269/0.4487, allocations: 0.6744 MB / 1.011 GB, free: 13.02 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.001317/0.45, allocations: 422.7 kB / 1.012 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006084/0.4562, allocations: 1.489 MB / 1.013 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.4562, allocations: 4 kB / 1.013 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.4582, allocations: 0.4884 MB / 1.014 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004991/0.4632, allocations: 0.6258 MB / 1.014 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/0.4708, allocations: 2.753 MB / 1.017 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.472, allocations: 1.202 MB / 1.018 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002211/0.4743, allocations: 289 kB / 1.018 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.4748, allocations: 111.4 kB / 1.019 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/0.4748, allocations: 0 / 1.019 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of Templates: time 0.07355/0.5484, allocations: 25.9 MB / 1.044 GB, free: 11.93 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)