Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009981/0.0009981, allocations: 179.3 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.388/1.388, allocations: 205 MB / 0.5767 GB, free: 21.02 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.0007487/0.0007487, allocations: 89.25 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 8.656 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1551, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem): time 0.7018/0.8569, allocations: 452.5 MB / 1.339 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.5942/1.451, allocations: 90.73 MB / 1.427 GB, free: 34.27 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01768/1.469, allocations: 437.8 kB / 1.428 GB, free: 34.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01878/1.488, allocations: 5.461 MB / 1.433 GB, free: 34.26 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.03927/1.527, allocations: 14.84 MB / 1.447 GB, free: 33.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02218/1.549, allocations: 9.952 MB / 1.457 GB, free: 33.56 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.04727/1.596, allocations: 45.67 MB / 1.502 GB, free: 33.24 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01733/1.614, allocations: 10.05 MB / 1.512 GB, free: 29.75 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02507/1.639, allocations: 11.22 MB / 1.523 GB, free: 26.83 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01975/1.659, allocations: 9.28 MB / 1.532 GB, free: 23.14 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.003768/1.663, allocations: 454.7 kB / 1.532 GB, free: 23.14 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/1.679, allocations: 5.057 MB / 1.537 GB, free: 20.56 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.004587/1.683, allocations: 2.519 MB / 1.539 GB, free: 18.68 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01369/1.697, allocations: 6.343 MB / 1.546 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02926/1.726, allocations: 20.38 MB / 1.566 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.727, allocations: 0 / 1.566 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.128e-06/1.727, allocations: 0 / 1.566 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0006331/1.727, allocations: 3.938 kB / 1.566 GB, free: 12.65 MB / 0.9167 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.02518/1.752, allocations: 11.6 MB / 1.577 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.752, allocations: 8.031 kB / 1.577 GB, free: 2.02 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/1.765, allocations: 2.703 MB / 1.58 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02398/1.789, allocations: 11.82 MB / 1.591 GB, free: 5.297 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002963/1.792, allocations: 1.077 MB / 1.592 GB, free: 4.223 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/1.794, allocations: 0.7364 MB / 1.593 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02078/1.815, allocations: 9.247 MB / 1.602 GB, free: 9.879 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/1.815, allocations: 19.88 kB / 1.602 GB, free: 9.859 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008795/1.816, allocations: 306.6 kB / 1.602 GB, free: 9.562 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/1.816, allocations: 195.9 kB / 1.602 GB, free: 9.371 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/1.834, allocations: 7.503 MB / 1.61 GB, free: 1.852 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 removeSimpleEquations (simulation): time 0.0692/1.903, allocations: 48.68 MB / 1.657 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/1.916, allocations: 4.885 MB / 1.662 GB, free: 9.121 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006577/1.923, allocations: 2.738 MB / 1.665 GB, free: 6.375 MB / 1.01 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.02414/1.947, allocations: 10.78 MB / 1.675 GB, free: 11.01 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006734/1.954, allocations: 2.649 MB / 1.678 GB, free: 8.328 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004891/1.959, allocations: 0.5396 MB / 1.678 GB, free: 7.785 MB / 1.026 GB Notification: Performance of pre-optimization done (n=327): time 1.31e-05/1.959, allocations: 3.984 kB / 1.678 GB, free: 7.781 MB / 1.026 GB Notification: Performance of matching and sorting (n=327): time 0.02121/1.98, allocations: 7.464 MB / 1.686 GB, free: 232 kB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/1.98, allocations: 85.98 kB / 1.686 GB, free: 132 kB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02071/2.001, allocations: 9.661 MB / 1.695 GB, free: 6.527 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009851/2.002, allocations: 125.6 kB / 1.695 GB, free: 6.398 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.006409/2.008, allocations: 5.568 MB / 1.701 GB, free: 0.8125 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00176/2.01, allocations: 1.136 MB / 1.702 GB, free: 15.69 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007944/2.011, allocations: 400.9 kB / 1.702 GB, free: 15.29 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/2.011, allocations: 301.1 kB / 1.702 GB, free: 14.99 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005114/2.016, allocations: 2.34 MB / 1.705 GB, free: 12.64 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006795/2.023, allocations: 4.398 MB / 1.709 GB, free: 7.309 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/2.035, allocations: 6.426 MB / 1.715 GB, free: 172 kB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/2.035, allocations: 16 kB / 1.715 GB, free: 156 kB / 1.057 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.01617/2.051, allocations: 7.453 MB / 1.723 GB, free: 8.656 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009345/2.052, allocations: 1.635 MB / 1.724 GB, free: 6.309 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.688e-05/2.052, allocations: 48 kB / 1.724 GB, free: 6.262 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/2.052, allocations: 268.6 kB / 1.725 GB, free: 5.996 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004755/2.057, allocations: 1.306 MB / 1.726 GB, free: 4.691 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/2.06, allocations: 3.874 MB / 1.73 GB, free: 0.5586 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009247/2.07, allocations: 0.9506 MB / 1.731 GB, free: 15.61 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009324/2.071, allocations: 255.9 kB / 1.731 GB, free: 15.36 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/2.071, allocations: 7.984 kB / 1.731 GB, free: 15.35 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01194/2.083, allocations: 6.131 MB / 1.737 GB, free: 9.191 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.533e-05/2.083, allocations: 48 kB / 1.737 GB, free: 9.145 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/2.083, allocations: 264.2 kB / 1.737 GB, free: 8.883 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004178/2.087, allocations: 1.244 MB / 1.738 GB, free: 7.637 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/2.09, allocations: 3.89 MB / 1.742 GB, free: 3.496 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008186/2.099, allocations: 0.8961 MB / 1.743 GB, free: 2.598 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005362/2.099, allocations: 239.9 kB / 1.743 GB, free: 2.363 MB / 1.089 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 ($PRE.QCoo2.nextTimeEvent,$whenCondition4,$PRE.QCoo1.nextTimeEvent,$whenCondition3,$PRE.QHea2.nextTimeEvent,$whenCondition2,$PRE.QHea1.nextTimeEvent,$whenCondition1,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 (598): * Single equations (assignments): 592 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.00503/2.104, allocations: 2.562 MB / 1.746 GB, free: 15.79 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00277/2.107, allocations: 0.976 MB / 1.747 GB, free: 14.8 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/2.12, allocations: 6.099 MB / 1.753 GB, free: 8.652 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009692/2.13, allocations: 4.551 MB / 1.757 GB, free: 4.059 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/2.13, allocations: 0 / 1.757 GB, free: 4.059 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004905/2.135, allocations: 1.668 MB / 1.759 GB, free: 2.359 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002231/2.137, allocations: 67.98 kB / 1.759 GB, free: 2.293 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007521/2.145, allocations: 0.8827 MB / 1.76 GB, free: 1.414 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004087/2.145, allocations: 222.4 kB / 1.76 GB, free: 1.195 MB / 1.104 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01366/2.159, allocations: 5.611 MB / 1.765 GB, free: 11.61 MB / 1.12 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.019/2.178, allocations: 8.679 MB / 1.774 GB, free: 2.852 MB / 1.12 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00484/2.183, allocations: 2.403 MB / 1.776 GB, free: 448 kB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01258/2.195, allocations: 6.516 MB / 1.782 GB, free: 9.98 MB / 1.135 GB Notification: Performance of Backend: time 1.423e-06/2.195, allocations: 0 / 1.782 GB, free: 9.98 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.02307/2.218, allocations: 9.761 MB / 1.792 GB, free: 0.5156 MB / 1.135 GB Notification: Performance of SimCode: time 0.6417/2.86, allocations: 26.2 MB / 1.818 GB, free: 0.5266 GB / 1.136 GB Notification: Performance of Templates: time 0.2656/3.126, allocations: 208.7 MB / 2.021 GB, free: 360.4 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)