Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009197/0.0009195, allocations: 174.1 kB / 325.8 MB, free: 2.715 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.313/1.313, allocations: 205 MB / 0.576 GB, free: 20.99 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.0007074/0.0007074, allocations: 96.53 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 9.906 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1388, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.03414/0.173, allocations: 60.52 MB / 0.9553 GB, free: 7.371 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1845, allocations: 11.93 MB / 0.9669 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.186, allocations: 51.69 kB / 0.967 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.1875, allocations: 0.5555 MB / 0.9675 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.1914, allocations: 1.787 MB / 0.9693 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.1936, allocations: 1.087 MB / 0.9703 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003074/0.1967, allocations: 3.894 MB / 0.9741 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/0.1976, allocations: 0.8767 MB / 0.975 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.199, allocations: 1.12 MB / 0.9761 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008117/0.1999, allocations: 0.8631 MB / 0.9769 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-05/0.2, allocations: 44 kB / 0.977 GB, free: 1.066 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.2018, allocations: 1.302 MB / 0.9783 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.202, allocations: 214.9 kB / 0.9785 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.2025, allocations: 0.6138 MB / 0.9791 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.2044, allocations: 2.189 MB / 0.9812 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2044, allocations: 0 / 0.9812 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2044, allocations: 3.938 kB / 0.9812 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.2044, allocations: 0 / 0.9812 GB, free: 12.73 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002243/0.2066, allocations: 1.493 MB / 0.9827 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2067, allocations: 8.031 kB / 0.9827 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.2068, allocations: 126.8 kB / 0.9828 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.2087, allocations: 474.8 kB / 0.9832 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.2104, allocations: 1.132 MB / 0.9843 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.2107, allocations: 129.9 kB / 0.9845 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.436e-05/0.2108, allocations: 83.98 kB / 0.9845 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.2125, allocations: 1.011 MB / 0.9855 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2125, allocations: 0 / 0.9855 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.2126, allocations: 32 kB / 0.9856 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.2126, allocations: 23.94 kB / 0.9856 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.2147, allocations: 0.9212 MB / 0.9865 GB, free: 7.148 MB / 0.6355 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.005374/0.2201, allocations: 4.647 MB / 0.991 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.2233, allocations: 0.9383 MB / 0.9919 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.2241, allocations: 347.1 kB / 0.9923 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/0.2246, allocations: 0.899 MB / 0.9931 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.2246, allocations: 39 kB / 0.9932 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.405e-06/0.2246, allocations: 4 kB / 0.9932 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.006566/0.2312, allocations: 2.002 MB / 0.9951 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.2312, allocations: 59.83 kB / 0.9952 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2325, allocations: 1.06 MB / 0.9962 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.2326, allocations: 41.7 kB / 0.9963 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.2329, allocations: 0.5158 MB / 0.9968 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.2331, allocations: 165.6 kB / 0.9969 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.2331, allocations: 49.7 kB / 0.997 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.2332, allocations: 326 kB / 0.9973 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008424/0.2341, allocations: 344.8 kB / 0.9976 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009568/0.235, allocations: 0.5314 MB / 0.9981 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.2366, allocations: 0.7409 MB / 0.9989 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.2366, allocations: 7.938 kB / 0.9989 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002419/0.239, allocations: 1.081 MB / 0.9999 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.2391, allocations: 197 kB / 1 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2391, allocations: 4 kB / 1 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.2403, allocations: 326.1 kB / 1 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.2408, allocations: 143.8 kB / 1.001 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.2421, allocations: 0.9387 MB / 1.001 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.2432, allocations: 198.2 kB / 1.002 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.2433, allocations: 31.98 kB / 1.002 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/0.2433, allocations: 4 kB / 1.002 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002213/0.2456, allocations: 0.9479 MB / 1.003 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2456, allocations: 4 kB / 1.003 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009571/0.2465, allocations: 318.2 kB / 1.003 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.247, allocations: 131.8 kB / 1.003 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.2483, allocations: 0.9454 MB / 1.004 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009306/0.2492, allocations: 167.3 kB / 1.004 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.2493, allocations: 31.98 kB / 1.004 GB, free: 4.164 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003711/0.2496, allocations: 352.9 kB / 1.005 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.2498, allocations: 110.7 kB / 1.005 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.252, allocations: 1.042 MB / 1.006 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.252, allocations: 8 kB / 1.006 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.252, allocations: 3.938 kB / 1.006 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.252, allocations: 3.984 kB / 1.006 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005127/0.2572, allocations: 2.473 MB / 1.008 GB, free: 64 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2572, allocations: 0 / 1.008 GB, free: 64 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.2575, allocations: 71.94 kB / 1.008 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000891/0.2584, allocations: 332.8 kB / 1.008 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.2584, allocations: 12 kB / 1.008 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.2597, allocations: 0.978 MB / 1.009 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2597, allocations: 4.062 kB / 1.009 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.2629, allocations: 1.293 MB / 1.011 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.2632, allocations: 271.4 kB / 1.011 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.2634, allocations: 15.94 kB / 1.011 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008036/0.2642, allocations: 115.8 kB / 1.011 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.2643, allocations: 35.89 kB / 1.011 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.2643, allocations: 23.98 kB / 1.011 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009566/0.2653, allocations: 0.7469 MB / 1.012 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2653, allocations: 0 / 1.012 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001201/0.2665, allocations: 0.5652 MB / 1.012 GB, free: 11.52 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00406/0.2706, allocations: 2.086 MB / 1.014 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002858/0.2734, allocations: 1.218 MB / 1.016 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2734, allocations: 12.12 kB / 1.016 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008283/0.2743, allocations: 382.8 kB / 1.016 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.2767, allocations: 0.5322 MB / 1.017 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/0.2947, allocations: 9.64 MB / 1.026 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.2952, allocations: 1.062 MB / 1.027 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000863/0.2961, allocations: 240.7 kB / 1.027 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.2965, allocations: 407.3 kB / 1.028 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/0.2966, allocations: 0 / 1.028 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/1.305, allocations: 32.65 MB / 1.059 GB, free: 149.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/1.306, allocations: 271.8 kB / 1.06 GB, free: 149.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/4.25, allocations: 5.75 kB / 1.06 GB, free: 149.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)