Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 105 kB / 16.36 MB, free: 6.312 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.001219/0.001219, allocations: 191 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.357/1.357, 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.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001436/0.001436, allocations: 75.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2035, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.3758/0.5793, allocations: 57.22 MB / 0.8407 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.6012, allocations: 17.38 MB / 0.8576 GB, free: 15.63 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.6043, allocations: 66.25 kB / 0.8577 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003252/0.6075, allocations: 1.058 MB / 0.8587 GB, free: 15.01 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.6144, allocations: 2.222 MB / 0.8609 GB, free: 13.72 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005487/0.6199, allocations: 1.943 MB / 0.8628 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006704/0.6266, allocations: 3.961 MB / 0.8667 GB, free: 10.78 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.6296, allocations: 1.434 MB / 0.8681 GB, free: 10.13 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004608/0.6343, allocations: 1.657 MB / 0.8697 GB, free: 9.316 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.6365, allocations: 1.094 MB / 0.8708 GB, free: 8.801 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.6369, allocations: 169.6 kB / 0.8709 GB, free: 8.801 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.6406, allocations: 1.515 MB / 0.8724 GB, free: 8.016 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005948/0.6412, allocations: 461.3 kB / 0.8728 GB, free: 7.664 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.6425, allocations: 0.9044 MB / 0.8737 GB, free: 7.023 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004976/0.6475, allocations: 3.113 MB / 0.8768 GB, free: 4.887 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6475, allocations: 0 / 0.8768 GB, free: 4.887 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.195e-06/0.6475, allocations: 2.625 kB / 0.8768 GB, free: 4.887 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.228e-05/0.6476, allocations: 0 / 0.8768 GB, free: 4.887 MB / 0.67 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.00378/0.6514, allocations: 2.12 MB / 0.8788 GB, free: 3.262 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.6514, allocations: 9.438 kB / 0.8788 GB, free: 3.262 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.6532, allocations: 359.5 kB / 0.8792 GB, free: 3.098 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.6559, allocations: 1.558 MB / 0.8807 GB, free: 1.871 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.656, allocations: 67.97 kB / 0.8808 GB, free: 1.844 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.6561, allocations: 93.34 kB / 0.8809 GB, free: 1.812 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.6583, allocations: 1.106 MB / 0.8819 GB, free: 1.09 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.6583, allocations: 1.906 kB / 0.8819 GB, free: 1.09 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.6584, allocations: 36.91 kB / 0.882 GB, free: 1.062 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.6584, allocations: 21.59 kB / 0.882 GB, free: 1.062 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.6607, allocations: 0.8871 MB / 0.8829 GB, free: 0.625 MB / 0.67 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.006458/0.6672, allocations: 5.268 MB / 0.888 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.6691, allocations: 0.6385 MB / 0.8886 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000884/0.67, allocations: 339.9 kB / 0.889 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002224/0.6722, allocations: 1.804 MB / 0.8907 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.6733, allocations: 457.1 kB / 0.8912 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.6733, allocations: 3.938 kB / 0.8912 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.003056/0.6764, allocations: 1.068 MB / 0.8922 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.6765, allocations: 82.7 kB / 0.8923 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.6783, allocations: 1.346 MB / 0.8936 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.6784, allocations: 38.05 kB / 0.8936 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/0.6789, allocations: 0.6621 MB / 0.8943 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.679, allocations: 146.2 kB / 0.8944 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.6793, allocations: 162.4 kB / 0.8946 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6794, allocations: 336.6 kB / 0.8949 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009671/0.6804, allocations: 360 kB / 0.8952 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.6816, allocations: 0.6293 MB / 0.8959 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.6836, allocations: 0.9642 MB / 0.8968 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.6836, allocations: 2.594 kB / 0.8968 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002598/0.6862, allocations: 1.135 MB / 0.8979 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.6863, allocations: 48.56 kB / 0.8979 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6863, allocations: 6.875 kB / 0.898 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.6863, allocations: 11 kB / 0.898 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.6871, allocations: 188 kB / 0.8981 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.6871, allocations: 14.28 kB / 0.8982 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.6882, allocations: 130.2 kB / 0.8983 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.6883, allocations: 42.89 kB / 0.8983 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001276/0.6896, allocations: 0.6202 MB / 0.8989 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001048/0.6907, allocations: 0.5833 MB / 0.8995 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001695/0.6924, allocations: 0.9003 MB / 0.9004 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/0.6924, allocations: 0.625 kB / 0.9004 GB, free: 2.891 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002356/0.6947, allocations: 1.051 MB / 0.9014 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.6948, allocations: 47.72 kB / 0.9015 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.6948, allocations: 8 kB / 0.9015 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6948, allocations: 11.94 kB / 0.9015 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.6955, allocations: 179.1 kB / 0.9016 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.6955, allocations: 19.95 kB / 0.9017 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.6967, allocations: 98.3 kB / 0.9018 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.6967, allocations: 39.98 kB / 0.9018 GB, free: 1.43 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 (QHea.nextEventScaled,QHea.nextEvent,$PRE.QHea.nextEvent,QHea.last,QHea.b,QHea.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003125/0.6971, allocations: 269.6 kB / 0.902 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.6973, allocations: 138.2 kB / 0.9022 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.6999, allocations: 0.9908 MB / 0.9031 GB, free: 24 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6999, allocations: 3.984 kB / 0.9032 GB, free: 20 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6999, allocations: 4 kB / 0.9032 GB, free: 16 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.7004, allocations: 307.1 kB / 0.9034 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.7006, allocations: 12 kB / 0.9035 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.7015, allocations: 71.92 kB / 0.9035 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.7016, allocations: 35.89 kB / 0.9036 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002465/0.704, allocations: 0.9982 MB / 0.9045 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002303/0.7063, allocations: 1.093 MB / 0.9056 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009426/0.7073, allocations: 388.3 kB / 0.906 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001315/0.7086, allocations: 0.9227 MB / 0.9069 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of Backend: time 4.91e-07/0.7086, allocations: 0 / 0.9069 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00444/0.7131, allocations: 1.636 MB / 0.9085 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of SimCode: time 0.005133/0.7182, allocations: 3.036 MB / 0.9114 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of Templates: time 0.04829/0.7665, allocations: 32.52 MB / 0.9432 GB, free: 7.41 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)