Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 105.5 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001275, allocations: 189.3 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 67.91 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2356, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem): time 1.3/1.535, allocations: 456 MB / 1.23 GB, free: 59.21 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1231/1.658, allocations: 90.33 MB / 1.318 GB, free: 43.24 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02735/1.686, allocations: 487.8 kB / 1.319 GB, free: 43.24 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.02247/1.708, allocations: 6.596 MB / 1.325 GB, free: 40.19 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.05866/1.767, allocations: 15.98 MB / 1.341 GB, free: 29.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.03173/1.799, allocations: 10.97 MB / 1.352 GB, free: 20.35 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.05124/1.85, allocations: 35.12 MB / 1.386 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02883/1.879, allocations: 12.85 MB / 1.398 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05747/1.937, allocations: 13.97 MB / 1.412 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03232/1.969, allocations: 9.781 MB / 1.422 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.007982/1.977, allocations: 1.328 MB / 1.423 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03182/2.009, allocations: 6.433 MB / 1.429 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.007513/2.016, allocations: 3.497 MB / 1.433 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.01751/2.034, allocations: 7.492 MB / 1.44 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03965/2.074, allocations: 21.78 MB / 1.461 GB, free: 7.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/2.074, allocations: 0 / 1.461 GB, free: 7.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/2.074, allocations: 0 / 1.461 GB, free: 7.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0007819/2.074, allocations: 4 kB / 1.461 GB, free: 7.906 MB / 1.014 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.04137/2.116, allocations: 14.24 MB / 1.475 GB, free: 9.656 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.18e-05/2.116, allocations: 12.03 kB / 1.475 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/2.131, allocations: 2.49 MB / 1.478 GB, free: 7.137 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02958/2.161, allocations: 11.89 MB / 1.489 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007252/2.162, allocations: 0.556 MB / 1.49 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002706/2.164, allocations: 0.7374 MB / 1.49 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0266/2.191, allocations: 9.262 MB / 1.499 GB, free: 456 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003671/2.191, allocations: 27.66 kB / 1.499 GB, free: 428 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002157/2.194, allocations: 307.3 kB / 1.5 GB, free: 124 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002642/2.194, allocations: 196 kB / 1.5 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02171/2.216, allocations: 7.241 MB / 1.507 GB, free: 8.672 MB / 1.061 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.0829/2.299, allocations: 49.55 MB / 1.555 GB, free: 3.973 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7386/3.037, allocations: 4.521 MB / 1.56 GB, free: 461.2 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005689/3.043, allocations: 2.588 MB / 1.562 GB, free: 461.2 MB / 1.108 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.01893/3.062, allocations: 10.79 MB / 1.573 GB, free: 455.9 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006297/3.068, allocations: 2.542 MB / 1.575 GB, free: 455.1 MB / 1.108 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003582/3.072, allocations: 318.1 kB / 1.576 GB, free: 455 MB / 1.108 GB Notification: Performance of pre-optimization done (n=323): time 1.537e-05/3.072, allocations: 0 / 1.576 GB, free: 455 MB / 1.108 GB Notification: Performance of matching and sorting (n=323): time 0.02169/3.094, allocations: 7.043 MB / 1.583 GB, free: 452.9 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/3.094, allocations: 85.75 kB / 1.583 GB, free: 452.9 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0216/3.115, allocations: 9.936 MB / 1.592 GB, free: 449.5 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 0.0009965/3.116, allocations: 118.3 kB / 1.592 GB, free: 449.4 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.005532/3.122, allocations: 5.585 MB / 1.598 GB, free: 445.8 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.001645/3.123, allocations: 1.128 MB / 1.599 GB, free: 444.9 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001937/3.125, allocations: 1.064 MB / 1.6 GB, free: 444.4 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 3.905e-05/3.125, allocations: 303.2 kB / 1.6 GB, free: 444.1 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005738/3.131, allocations: 2.254 MB / 1.603 GB, free: 443.3 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00744/3.139, allocations: 4.36 MB / 1.607 GB, free: 439.9 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/3.152, allocations: 6.286 MB / 1.613 GB, free: 436.2 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/3.152, allocations: 15.84 kB / 1.613 GB, free: 436.2 MB / 1.108 GB Notification: Performance of matching and sorting (n=630) (initialization): time 0.02061/3.173, allocations: 7.307 MB / 1.62 GB, free: 433.7 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 8.167e-05/3.173, allocations: 31.62 kB / 1.62 GB, free: 433.7 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/3.173, allocations: 53 kB / 1.62 GB, free: 433.7 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/3.174, allocations: 257.3 kB / 1.62 GB, free: 433.7 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005521/3.179, allocations: 1.277 MB / 1.622 GB, free: 433.6 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/3.183, allocations: 4.272 MB / 1.626 GB, free: 430 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009075/3.192, allocations: 0.489 MB / 1.626 GB, free: 429.9 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/3.193, allocations: 261.7 kB / 1.627 GB, free: 429.9 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009611/3.202, allocations: 4.271 MB / 1.631 GB, free: 428 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006026/3.208, allocations: 4.163 MB / 1.635 GB, free: 424.7 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01001/3.219, allocations: 5.939 MB / 1.641 GB, free: 420.8 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.134e-05/3.219, allocations: 15.88 kB / 1.641 GB, free: 420.8 MB / 1.108 GB Notification: Performance of matching and sorting (n=630) (initialization_lambda0): time 0.01792/3.237, allocations: 6.925 MB / 1.647 GB, free: 418.2 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/3.237, allocations: 34.91 kB / 1.647 GB, free: 418.2 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.005e-05/3.237, allocations: 51.41 kB / 1.647 GB, free: 418.2 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/3.237, allocations: 266.5 kB / 1.648 GB, free: 418.1 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/3.242, allocations: 1.221 MB / 1.649 GB, free: 418 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/3.245, allocations: 4.28 MB / 1.653 GB, free: 414.4 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008925/3.254, allocations: 493.3 kB / 1.654 GB, free: 414.3 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009775/3.255, allocations: 256.2 kB / 1.654 GB, free: 414.3 MB / 1.108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 242 * 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 (614): * Single equations (assignments): 608 * 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.002089/3.257, allocations: 0.5241 MB / 1.654 GB, free: 413.8 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003582/3.261, allocations: 0.9858 MB / 1.655 GB, free: 413.3 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/3.277, allocations: 5.792 MB / 1.661 GB, free: 411.2 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01094/3.288, allocations: 4.258 MB / 1.665 GB, free: 409.1 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/3.288, allocations: 0 / 1.665 GB, free: 409.1 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005784/3.294, allocations: 1.699 MB / 1.667 GB, free: 407.7 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003695/3.297, allocations: 68.47 kB / 1.667 GB, free: 407.7 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008091/3.305, allocations: 428.9 kB / 1.667 GB, free: 407.5 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006869/3.306, allocations: 220.1 kB / 1.667 GB, free: 407.4 MB / 1.108 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01463/3.321, allocations: 5.23 MB / 1.673 GB, free: 404.8 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01859/3.339, allocations: 8.249 MB / 1.681 GB, free: 396.9 MB / 1.108 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005013/3.344, allocations: 2.263 MB / 1.683 GB, free: 394.6 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.01306/3.358, allocations: 6.721 MB / 1.689 GB, free: 387.9 MB / 1.108 GB Notification: Performance of Backend: time 8.62e-07/3.358, allocations: 0 / 1.689 GB, free: 387.9 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.02902/3.387, allocations: 9.616 MB / 1.699 GB, free: 379 MB / 1.108 GB Notification: Performance of SimCode: time 0.0485/3.435, allocations: 22.15 MB / 1.72 GB, free: 357.2 MB / 1.108 GB Notification: Performance of Templates: time 0.2713/3.707, allocations: 210.2 MB / 1.926 GB, free: 149.1 MB / 1.108 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)