Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json 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: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.356/2.356, allocations: 248.7 MB / 256.2 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 177.7 kB / 315.4 MB, free: 4 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.155/2.155, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 86.52 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.492e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2036, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.944/2.148, allocations: 439 MB / 1.313 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/2.148, allocations: 93.97 kB / 1.313 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.907/8.055, allocations: 1.235 GB / 2.548 GB, free: 35.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.943e-06/8.055, allocations: 0 / 2.548 GB, free: 35.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004749/8.056, allocations: 81.95 kB / 2.548 GB, free: 35.82 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.008927/8.065, allocations: 2.728 MB / 2.551 GB, free: 33.07 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/8.065, allocations: 16.02 kB / 2.551 GB, free: 33.05 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009157/8.074, allocations: 1.003 MB / 2.552 GB, free: 32.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/8.085, allocations: 2.913 MB / 2.555 GB, free: 29.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/8.085, allocations: 60 kB / 2.555 GB, free: 29.07 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000804/8.086, allocations: 116 kB / 2.555 GB, free: 28.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005416/8.091, allocations: 1.573 MB / 2.557 GB, free: 27.38 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005522/8.097, allocations: 1.865 MB / 2.558 GB, free: 25.43 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.848e-05/8.097, allocations: 3.938 kB / 2.558 GB, free: 25.43 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/8.097, allocations: 4 kB / 2.558 GB, free: 25.43 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.236e-05/8.097, allocations: 51.95 kB / 2.558 GB, free: 25.38 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.02495/8.122, allocations: 11.76 MB / 2.57 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009183/8.131, allocations: 1.616 MB / 2.571 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/8.133, allocations: 0.6601 MB / 2.572 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/8.135, allocations: 1.371 MB / 2.573 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/8.135, allocations: 43.88 kB / 2.573 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002575/8.137, allocations: 234.8 kB / 2.574 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=105): time 6.322e-06/8.137, allocations: 4 kB / 2.574 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111): time 0.01325/8.15, allocations: 3.447 MB / 2.577 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/8.151, allocations: 171.5 kB / 2.577 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/8.154, allocations: 1.551 MB / 2.579 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004156/8.154, allocations: 29.7 kB / 2.579 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/8.155, allocations: 1.191 MB / 2.58 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005099/8.156, allocations: 378.4 kB / 2.58 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/8.156, allocations: 0 / 2.58 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001111/8.156, allocations: 353.9 kB / 2.581 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/8.157, allocations: 0.5429 MB / 2.581 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/8.159, allocations: 0.9985 MB / 2.582 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/8.162, allocations: 0.721 MB / 2.583 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/8.162, allocations: 0 / 2.583 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.0131/8.175, allocations: 2.38 MB / 2.585 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001819/8.177, allocations: 3.708 MB / 2.589 GB, free: 8.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-05/8.177, allocations: 12 kB / 2.589 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005913/8.183, allocations: 0.8411 MB / 2.59 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/8.186, allocations: 367.5 kB / 2.59 GB, free: 7.266 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/8.202, allocations: 5.275 MB / 2.595 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005656/8.208, allocations: 371.3 kB / 2.596 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004319/8.208, allocations: 75.95 kB / 2.596 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/8.208, allocations: 6.188 kB / 2.596 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01192/8.22, allocations: 2.01 MB / 2.598 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/8.221, allocations: 8 kB / 2.598 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/8.225, allocations: 0.5789 MB / 2.598 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/8.228, allocations: 399.2 kB / 2.598 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/8.247, allocations: 6.975 MB / 2.605 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/8.253, allocations: 315.5 kB / 2.606 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004772/8.253, allocations: 71.95 kB / 2.606 GB, free: 6.695 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005683/8.254, allocations: 140.9 kB / 2.606 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005403/8.259, allocations: 1.437 MB / 2.607 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009309/8.26, allocations: 225.1 kB / 2.607 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00674/8.267, allocations: 1.777 MB / 2.609 GB, free: 3.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/8.267, allocations: 12 kB / 2.609 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/8.267, allocations: 0 / 2.609 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004886/8.272, allocations: 1.653 MB / 2.611 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7594/9.031, allocations: 3.957 MB / 2.615 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/9.031, allocations: 2.281 kB / 2.615 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/9.034, allocations: 296.7 kB / 2.615 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002446/9.037, allocations: 385 kB / 2.615 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004254/9.037, allocations: 25.95 kB / 2.615 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/9.04, allocations: 1.527 MB / 2.617 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/9.04, allocations: 1.578 kB / 2.617 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009521/9.049, allocations: 2.491 MB / 2.619 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/9.052, allocations: 0.5046 MB / 2.62 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009452/9.053, allocations: 5.547 kB / 2.62 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005028/9.058, allocations: 299.7 kB / 2.62 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/9.058, allocations: 78.8 kB / 2.62 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/9.058, allocations: 48.38 kB / 2.62 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00339/9.062, allocations: 1.163 MB / 2.621 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.31e-07/9.062, allocations: 0 / 2.621 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0101/9.072, allocations: 1.261 MB / 2.623 GB, free: 104.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01064/9.083, allocations: 4.253 MB / 2.627 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008437/9.091, allocations: 2.894 MB / 2.63 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/9.091, allocations: 0 / 2.63 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00214/9.093, allocations: 0.6743 MB / 2.63 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01073/9.104, allocations: 1.04 MB / 2.631 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/9.127, allocations: 4.076 MB / 2.635 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/9.129, allocations: 1.678 MB / 2.637 GB, free: 101 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006587/9.136, allocations: 0.5697 MB / 2.637 GB, free: 101 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002826/9.139, allocations: 1.007 MB / 2.638 GB, free: 101 MB / 0.9167 GB Notification: Performance of SimCode: time 1.182e-06/9.139, allocations: 1.062 kB / 2.638 GB, free: 101 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2084/9.347, allocations: 77.33 MB / 2.714 GB, free: 98.07 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003263/9.347, allocations: 231.6 kB / 2.714 GB, free: 97.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.899/15.25, allocations: 0.75 kB / 2.714 GB, free: 97.78 MB / 0.9167 GB