Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00517/0.00517, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001205/0.001205, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.169/1.169, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.001225/0.001225, allocations: 63.89 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1547, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02901/0.1837, allocations: 35.27 MB / 0.8625 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009501/0.1933, allocations: 6.791 MB / 0.8691 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.1946, allocations: 51.62 kB / 0.8691 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.1959, allocations: 492.7 kB / 0.8696 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.1989, allocations: 1.259 MB / 0.8708 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.2011, allocations: 1.055 MB / 0.8719 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.2035, allocations: 2.228 MB / 0.8741 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008176/0.2044, allocations: 0.7687 MB / 0.8748 GB, free: 140 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.2058, allocations: 1.004 MB / 0.8758 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.2064, allocations: 0.6533 MB / 0.8764 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-05/0.2065, allocations: 84 kB / 0.8765 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.208, allocations: 0.9788 MB / 0.8775 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.2082, allocations: 211.2 kB / 0.8777 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.2086, allocations: 0.517 MB / 0.8782 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.2104, allocations: 1.694 MB / 0.8798 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2104, allocations: 4 kB / 0.8798 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.594e-06/0.2104, allocations: 7.938 kB / 0.8798 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.2104, allocations: 3.938 kB / 0.8798 GB, free: 10.97 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002096/0.2125, allocations: 1.351 MB / 0.8812 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2126, allocations: 12.03 kB / 0.8812 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.215, allocations: 435.1 kB / 0.8816 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.2164, allocations: 0.9433 MB / 0.8825 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.2165, allocations: 45.31 kB / 0.8825 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2166, allocations: 60 kB / 0.8826 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.2183, allocations: 0.8241 MB / 0.8834 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2183, allocations: 3.984 kB / 0.8834 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.2184, allocations: 24 kB / 0.8834 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.2184, allocations: 12 kB / 0.8834 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.2205, allocations: 0.7778 MB / 0.8842 GB, free: 6.344 MB / 0.7012 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.005129/0.2257, allocations: 4.648 MB / 0.8887 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.2293, allocations: 0.8414 MB / 0.8896 GB, free: 452 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009736/0.2303, allocations: 360.6 kB / 0.8899 GB, free: 88 kB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007931/0.2311, allocations: 0.9376 MB / 0.8908 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2311, allocations: 34.56 kB / 0.8909 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.2311, allocations: 0 / 0.8909 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.003152/0.2343, allocations: 1.024 MB / 0.8919 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2343, allocations: 59.41 kB / 0.8919 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/0.2351, allocations: 0.7317 MB / 0.8926 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.2352, allocations: 29.7 kB / 0.8927 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.2355, allocations: 444 kB / 0.8931 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.2356, allocations: 126.2 kB / 0.8932 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.2358, allocations: 110.1 kB / 0.8933 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.2359, allocations: 322 kB / 0.8936 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009889/0.2369, allocations: 326.8 kB / 0.8939 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.238, allocations: 0.5035 MB / 0.8944 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.2399, allocations: 0.7335 MB / 0.8951 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2399, allocations: 4 kB / 0.8951 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002258/0.2422, allocations: 0.8591 MB / 0.896 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2422, allocations: 8 kB / 0.896 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2422, allocations: 11.94 kB / 0.896 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2423, allocations: 8 kB / 0.896 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/0.2431, allocations: 183.8 kB / 0.8962 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2432, allocations: 11.94 kB / 0.8962 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/0.2439, allocations: 115.4 kB / 0.8963 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.244, allocations: 28.08 kB / 0.8963 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.2452, allocations: 0.4931 MB / 0.8968 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001068/0.2462, allocations: 0.5014 MB / 0.8973 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00189/0.2481, allocations: 0.7224 MB / 0.898 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/0.2482, allocations: 0 / 0.898 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.00221/0.2504, allocations: 0.8624 MB / 0.8988 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2504, allocations: 8 kB / 0.8989 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2504, allocations: 4 kB / 0.8989 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.2504, allocations: 7.938 kB / 0.8989 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/0.2513, allocations: 192.2 kB / 0.899 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2513, allocations: 4 kB / 0.8991 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/0.2521, allocations: 111.6 kB / 0.8992 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.2522, allocations: 27.97 kB / 0.8992 GB, free: 6.023 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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.0001697/0.2523, allocations: 216.1 kB / 0.8994 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.2525, allocations: 78.97 kB / 0.8995 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.255, allocations: 0.9327 MB / 0.9004 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.255, allocations: 4 kB / 0.9004 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.255, allocations: 4 kB / 0.9004 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.255, allocations: 0 / 0.9004 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.2587, allocations: 1.832 MB / 0.9022 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.2587, allocations: 4 kB / 0.9022 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/0.2595, allocations: 143.9 kB / 0.9023 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.2595, allocations: 0 / 0.9023 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.2596, allocations: 19.98 kB / 0.9023 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2596, allocations: 0 / 0.9023 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2596, allocations: 4 kB / 0.9023 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.263, allocations: 1.385 MB / 0.9037 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.2633, allocations: 227.9 kB / 0.9039 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.084e-05/0.2634, allocations: 12 kB / 0.9039 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/0.264, allocations: 71.97 kB / 0.904 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.2641, allocations: 31.95 kB / 0.904 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.2642, allocations: 19.98 kB / 0.904 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005635/0.2647, allocations: 0.5029 MB / 0.9045 GB, free: 444 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2647, allocations: 0 / 0.9045 GB, free: 444 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001082/0.2658, allocations: 427 kB / 0.9049 GB, free: 16 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005275/0.2663, allocations: 329.4 kB / 0.9052 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003224/0.2696, allocations: 1.171 MB / 0.9064 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2696, allocations: 0 / 0.9064 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.2707, allocations: 404.3 kB / 0.9068 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.272, allocations: 351.5 kB / 0.9071 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/0.2777, allocations: 1.904 MB / 0.909 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.2781, allocations: 0.9621 MB / 0.9099 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007149/0.2789, allocations: 215.6 kB / 0.9101 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.2791, allocations: 79.39 kB / 0.9102 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.2791, allocations: 0 / 0.9102 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.3408/0.6199, allocations: 16.28 MB / 0.9261 GB, free: 87.14 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)