Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001387/0.001387, allocations: 182.5 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.281/2.281, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.000929/0.000929, allocations: 87.53 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006396/0.0006397, allocations: 14.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2145, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.23/1.444, allocations: 421.5 MB / 1.311 GB, free: 13.11 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1795/1.624, allocations: 84.91 MB / 1.394 GB, free: 8.043 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0199/1.644, allocations: 417.2 kB / 1.394 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.02202/1.666, allocations: 4.473 MB / 1.399 GB, free: 3.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.8343/2.5, allocations: 12.41 MB / 1.411 GB, free: 45.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03604/2.536, allocations: 7.514 MB / 1.418 GB, free: 45.28 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.06713/2.603, allocations: 39.33 MB / 1.457 GB, free: 45.2 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02524/2.629, allocations: 9.589 MB / 1.466 GB, free: 44.02 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03302/2.662, allocations: 10.53 MB / 1.476 GB, free: 43.98 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02207/2.684, allocations: 8.711 MB / 1.485 GB, free: 42.25 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.004824/2.689, allocations: 452.8 kB / 1.485 GB, free: 42.25 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0213/2.71, allocations: 3.697 MB / 1.489 GB, free: 41.95 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.007146/2.717, allocations: 2.404 MB / 1.491 GB, free: 41.43 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.00852/2.726, allocations: 2.716 MB / 1.494 GB, free: 40.98 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.03051/2.756, allocations: 16.47 MB / 1.51 GB, free: 33.61 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/2.756, allocations: 0 / 1.51 GB, free: 33.61 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.337e-06/2.756, allocations: 0 / 1.51 GB, free: 33.61 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007472/2.757, allocations: 0 / 1.51 GB, free: 33.61 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.03865/2.796, allocations: 11.73 MB / 1.521 GB, free: 26.64 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/2.796, allocations: 13.62 kB / 1.521 GB, free: 26.64 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02099/2.817, allocations: 2.703 MB / 1.524 GB, free: 25.44 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03701/2.854, allocations: 11.41 MB / 1.535 GB, free: 19.22 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00521/2.859, allocations: 1.071 MB / 1.536 GB, free: 18.39 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002966/2.862, allocations: 0.7328 MB / 1.537 GB, free: 17.89 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03255/2.895, allocations: 9.194 MB / 1.546 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003733/2.895, allocations: 21.56 kB / 1.546 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002048/2.897, allocations: 299.8 kB / 1.546 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/2.898, allocations: 203.2 kB / 1.546 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03128/2.929, allocations: 7.448 MB / 1.554 GB, free: 5.891 MB / 0.9011 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.1272/3.056, allocations: 48.67 MB / 1.601 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03371/3.09, allocations: 4.872 MB / 1.606 GB, free: 8.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01149/3.102, allocations: 2.725 MB / 1.609 GB, free: 6.301 MB / 0.948 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 evalFunc (simulation): time 0.03323/3.135, allocations: 10.78 MB / 1.619 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01193/3.147, allocations: 2.644 MB / 1.622 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009011/3.156, allocations: 0.5393 MB / 1.622 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=327): time 2.826e-05/3.156, allocations: 0 / 1.622 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of matching and sorting (n=327): time 0.04123/3.197, allocations: 7.427 MB / 1.63 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/3.197, allocations: 93.36 kB / 1.63 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02653/3.224, allocations: 9.574 MB / 1.639 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001363/3.225, allocations: 117.5 kB / 1.639 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.008762/3.234, allocations: 5.573 MB / 1.645 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00247/3.237, allocations: 1.137 MB / 1.646 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006473/3.237, allocations: 101.5 kB / 1.646 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000463/3.238, allocations: 493.3 kB / 1.646 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01064/3.248, allocations: 2.236 MB / 1.648 GB, free: 9.297 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01293/3.261, allocations: 4.287 MB / 1.653 GB, free: 4.922 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/3.273, allocations: 2.757 MB / 1.655 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.942e-05/3.273, allocations: 12 kB / 1.655 GB, free: 3.082 MB / 0.9792 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.03148/3.305, allocations: 7.247 MB / 1.662 GB, free: 13.53 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00175/3.307, allocations: 1.631 MB / 1.664 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/3.307, allocations: 52 kB / 1.664 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/3.308, allocations: 256.9 kB / 1.664 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/3.319, allocations: 1.308 MB / 1.666 GB, free: 9.809 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/3.325, allocations: 3.886 MB / 1.669 GB, free: 6.176 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01719/3.342, allocations: 0.955 MB / 1.67 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/3.343, allocations: 258.5 kB / 1.671 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/3.343, allocations: 4 kB / 1.671 GB, free: 5.086 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02472/3.368, allocations: 6.082 MB / 1.676 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/3.368, allocations: 52 kB / 1.677 GB, free: 0.6875 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008817/3.369, allocations: 257.5 kB / 1.677 GB, free: 476 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009884/3.379, allocations: 1.242 MB / 1.678 GB, free: 15.26 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/3.385, allocations: 3.897 MB / 1.682 GB, free: 11.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01565/3.4, allocations: 0.8949 MB / 1.683 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/3.402, allocations: 245.1 kB / 1.683 GB, free: 10.59 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (598): * Single equations (assignments): 592 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009331/3.411, allocations: 2.558 MB / 1.685 GB, free: 9.133 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004526/3.416, allocations: 0.9682 MB / 1.686 GB, free: 8.152 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0287/3.444, allocations: 6.092 MB / 1.692 GB, free: 3.797 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02194/3.466, allocations: 4.527 MB / 1.697 GB, free: 0.543 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/3.466, allocations: 0 / 1.697 GB, free: 0.543 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008308/3.475, allocations: 1.817 MB / 1.699 GB, free: 15.2 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003992/3.479, allocations: 66.11 kB / 1.699 GB, free: 15.18 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01621/3.495, allocations: 0.883 MB / 1.699 GB, free: 14.36 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/3.496, allocations: 222.4 kB / 1.7 GB, free: 14.16 MB / 1.026 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03586/3.532, allocations: 5.594 MB / 1.705 GB, free: 10.04 MB / 1.026 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05412/3.586, allocations: 8.651 MB / 1.714 GB, free: 2.312 MB / 1.026 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01028/3.597, allocations: 2.38 MB / 1.716 GB, free: 15.92 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01936/3.616, allocations: 6.43 MB / 1.722 GB, free: 9.551 MB / 1.042 GB Notification: Performance of Backend: time 9.52e-07/3.616, allocations: 0 / 1.722 GB, free: 9.551 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.04264/3.659, allocations: 9.557 MB / 1.731 GB, free: 396 kB / 1.042 GB Notification: Performance of SimCode: time 0.1251/3.784, allocations: 25.45 MB / 1.756 GB, free: 6.961 MB / 1.073 GB Notification: Performance of Templates: time 1.785/5.569, allocations: 203.4 MB / 1.955 GB, free: 388.2 MB / 1.104 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)