Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.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.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters") translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001065/0.001065, allocations: 170.9 kB / 326.5 MB, free: 2.688 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.594/1.594, allocations: 205 MB / 0.5766 GB, free: 21 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.0008881/0.0008882, allocations: 95.97 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 5.812 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters): time 1.552/1.746, allocations: 0.6831 GB / 1.58 GB, free: 34.39 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.1967/1.943, allocations: 169.4 MB / 1.745 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03316/1.976, allocations: 0.7646 MB / 1.746 GB, free: 7.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.03202/2.008, allocations: 10.04 MB / 1.756 GB, free: 13.17 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.07395/2.082, allocations: 26.53 MB / 1.782 GB, free: 2.547 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.04119/2.123, allocations: 17.52 MB / 1.799 GB, free: 1.086 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.7723/2.895, allocations: 85.09 MB / 1.882 GB, free: 22.37 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04209/2.938, allocations: 21.1 MB / 1.903 GB, free: 35.47 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04787/2.985, allocations: 21.08 MB / 1.923 GB, free: 34.09 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03455/3.02, allocations: 18.12 MB / 1.941 GB, free: 30.74 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.01037/3.03, allocations: 0.9602 MB / 1.942 GB, free: 30.74 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0321/3.063, allocations: 8.249 MB / 1.95 GB, free: 30.73 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.01244/3.075, allocations: 5.374 MB / 1.955 GB, free: 29.76 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.03368/3.109, allocations: 12.63 MB / 1.967 GB, free: 24.49 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.06667/3.175, allocations: 41.23 MB / 2.008 GB, free: 8.789 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/3.176, allocations: 0 / 2.008 GB, free: 8.789 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.134e-06/3.176, allocations: 0 / 2.008 GB, free: 8.789 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.001508/3.177, allocations: 0 / 2.008 GB, free: 8.789 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3531 * Number of variables: 3531 Notification: Performance of Generate backend data structure: time 0.05929/3.236, allocations: 22.98 MB / 2.03 GB, free: 3.895 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/3.236, allocations: 12.03 kB / 2.03 GB, free: 3.883 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0287/3.265, allocations: 5.805 MB / 2.036 GB, free: 14.07 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05457/3.32, allocations: 24.34 MB / 2.06 GB, free: 14.47 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007707/3.328, allocations: 2.642 MB / 2.062 GB, free: 12.3 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005186/3.333, allocations: 1.427 MB / 2.063 GB, free: 11.34 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05745/3.39, allocations: 19.84 MB / 2.083 GB, free: 12.96 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000803/3.391, allocations: 48.47 kB / 2.083 GB, free: 12.94 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004952/3.396, allocations: 0.5751 MB / 2.083 GB, free: 12.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004236/3.396, allocations: 387.7 kB / 2.084 GB, free: 12.43 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04846/3.445, allocations: 17.29 MB / 2.101 GB, free: 0.7578 MB / 1.151 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.168/3.613, allocations: 101.5 MB / 2.2 GB, free: 10.75 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03415/3.647, allocations: 13.82 MB / 2.213 GB, free: 13.22 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01651/3.664, allocations: 6.812 MB / 2.22 GB, free: 6.395 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05545/3.719, allocations: 22.88 MB / 2.242 GB, free: 14.51 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01786/3.737, allocations: 6.4 MB / 2.249 GB, free: 8.062 MB / 1.307 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01706/3.754, allocations: 2.922 MB / 2.251 GB, free: 5.141 MB / 1.307 GB Notification: Performance of pre-optimization done (n=669): time 4.293e-05/3.754, allocations: 4 kB / 2.251 GB, free: 5.137 MB / 1.307 GB Notification: Performance of matching and sorting (n=669): time 0.06231/3.817, allocations: 19.9 MB / 2.271 GB, free: 0.9922 MB / 1.323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/3.817, allocations: 120.7 kB / 2.271 GB, free: 0.8594 MB / 1.323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7618/4.579, allocations: 19.43 MB / 2.29 GB, free: 0.6793 GB / 1.323 GB Notification: Performance of collectPreVariables (initialization): time 0.002115/4.581, allocations: 212.4 kB / 2.29 GB, free: 0.6793 GB / 1.323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01141/4.592, allocations: 11.15 MB / 2.301 GB, free: 0.6737 GB / 1.323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003882/4.596, allocations: 2.299 MB / 2.303 GB, free: 0.6726 GB / 1.323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/4.598, allocations: 0.8272 MB / 2.304 GB, free: 0.6723 GB / 1.323 GB Notification: Performance of setup shared object (initialization): time 5.337e-05/4.598, allocations: 308.4 kB / 2.304 GB, free: 0.672 GB / 1.323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01536/4.613, allocations: 5.727 MB / 2.31 GB, free: 0.6702 GB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01673/4.63, allocations: 9.795 MB / 2.32 GB, free: 0.6636 GB / 1.323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02781/4.658, allocations: 15.03 MB / 2.334 GB, free: 0.6554 GB / 1.323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/4.658, allocations: 33.27 kB / 2.334 GB, free: 0.6554 GB / 1.323 GB Notification: Performance of matching and sorting (n=1286) (initialization): time 0.04698/4.705, allocations: 17.96 MB / 2.352 GB, free: 0.6492 GB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001694/4.707, allocations: 3.334 MB / 2.355 GB, free: 0.6449 GB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002077/4.707, allocations: 105.1 kB / 2.355 GB, free: 0.6449 GB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004993/4.712, allocations: 1.54 MB / 2.357 GB, free: 0.6446 GB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/4.723, allocations: 2.759 MB / 2.359 GB, free: 0.6444 GB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/4.74, allocations: 20.06 MB / 2.379 GB, free: 0.6288 GB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0184/4.758, allocations: 1.786 MB / 2.381 GB, free: 0.6285 GB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002353/4.761, allocations: 0.5543 MB / 2.381 GB, free: 0.6284 GB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/4.761, allocations: 7.438 kB / 2.381 GB, free: 0.6284 GB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03537/4.796, allocations: 15.1 MB / 2.396 GB, free: 0.6209 GB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002753/4.796, allocations: 108 kB / 2.396 GB, free: 0.6208 GB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00459/4.801, allocations: 1.536 MB / 2.398 GB, free: 0.6193 GB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009563/4.81, allocations: 2.592 MB / 2.4 GB, free: 0.6168 GB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/4.827, allocations: 20.05 MB / 2.42 GB, free: 0.596 GB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01793/4.845, allocations: 1.673 MB / 2.421 GB, free: 0.5944 GB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/4.848, allocations: 0.5318 MB / 2.422 GB, free: 0.5939 GB / 1.323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.QCoo5.nextTimeEvent,$whenCondition12,$PRE.QHea7.nextTimeEvent,$whenCondition11,$PRE.QHea6.nextTimeEvent,$whenCondition10,$PRE.QHea5.nextTimeEvent,$whenCondition9,$PRE.QCoo4.nextTimeEvent,$whenCondition8,$PRE.QCoo3.nextTimeEvent,$whenCondition7,$PRE.QHea4.nextTimeEvent,$whenCondition6,$PRE.QHea3.nextTimeEvent,$whenCondition5,$PRE.QCoo2.nextTimeEvent,$whenCondition4,$PRE.QCoo1.nextTimeEvent,$whenCondition3,$PRE.QHea2.nextTimeEvent,$whenCondition2,$PRE.QHea1.nextTimeEvent,$whenCondition1,QCoo5.nextTimeEventScaled,$PRE.QCoo5.nextTimeEventScaled,QCoo5.nextTimeEvent,QHea7.nextTimeEventScaled,$PRE.QHea7.nextTimeEventScaled,QHea7.nextTimeEvent,QHea6.nextTimeEventScaled,$PRE.QHea6.nextTimeEventScaled,QHea6.nextTimeEvent,QHea5.nextTimeEventScaled,$PRE.QHea5.nextTimeEventScaled,QHea5.nextTimeEvent,QCoo4.nextTimeEventScaled,$PRE.QCoo4.nextTimeEventScaled,QCoo4.nextTimeEvent,QCoo3.nextTimeEventScaled,$PRE.QCoo3.nextTimeEventScaled,QCoo3.nextTimeEvent,QHea4.nextTimeEventScaled,$PRE.QHea4.nextTimeEventScaled,QHea4.nextTimeEvent,QHea3.nextTimeEventScaled,$PRE.QHea3.nextTimeEventScaled,QHea3.nextTimeEvent,QCoo2.nextTimeEventScaled,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo1.nextTimeEventScaled,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEvent,QHea2.nextTimeEventScaled,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEvent,QHea1.nextTimeEventScaled,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1205): * Single equations (assignments): 1184 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,10,100.0%), (1,6,100.0%), (1,6,100.0%), (2,13,100.0%), (1,6,100.0%), (1,6,100.0%), (1,8,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01336/4.861, allocations: 5.464 MB / 2.427 GB, free: 0.5886 GB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006584/4.867, allocations: 1.902 MB / 2.429 GB, free: 0.5867 GB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04003/4.908, allocations: 15.01 MB / 2.444 GB, free: 0.572 GB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02908/4.937, allocations: 11.84 MB / 2.455 GB, free: 0.5603 GB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.347e-05/4.937, allocations: 0 / 2.455 GB, free: 0.5603 GB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01041/4.947, allocations: 3.452 MB / 2.459 GB, free: 0.5569 GB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006084/4.953, allocations: 144 kB / 2.459 GB, free: 0.5568 GB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01691/4.97, allocations: 1.713 MB / 2.46 GB, free: 0.5551 GB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001738/4.972, allocations: 0.4932 MB / 2.461 GB, free: 0.5546 GB / 1.323 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03616/5.008, allocations: 13.93 MB / 2.475 GB, free: 0.5411 GB / 1.323 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04583/5.054, allocations: 20.32 MB / 2.494 GB, free: 0.5211 GB / 1.323 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01189/5.066, allocations: 5.797 MB / 2.5 GB, free: 0.5154 GB / 1.323 GB Notification: Performance of sorting global known variables: time 0.02448/5.09, allocations: 13.26 MB / 2.513 GB, free: 0.5026 GB / 1.323 GB Notification: Performance of Backend: time 1.193e-06/5.09, allocations: 0 / 2.513 GB, free: 0.5026 GB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.06009/5.151, allocations: 22.7 MB / 2.535 GB, free: 492.5 MB / 1.323 GB Notification: Performance of SimCode: time 0.1011/5.252, allocations: 52.84 MB / 2.587 GB, free: 439.9 MB / 1.323 GB Notification: Performance of Templates: time 0.5384/5.79, allocations: 412.5 MB / 2.99 GB, free: 28.16 MB / 1.323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.pipe 2>&1)