Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y",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.238/1.238, allocations: 251.5 MB / 266.7 MB, free: 11 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.0008593/0.0008593, allocations: 173.7 kB / 325.8 MB, free: 2.664 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.275/1.275, allocations: 205 MB / 0.576 GB, free: 21.01 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.0006385/0.0006388, allocations: 86.34 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002546, allocations: 13.09 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.04241/0.1764, allocations: 74.38 MB / 0.9688 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.1908, allocations: 12.66 MB / 0.9812 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.192, allocations: 59.62 kB / 0.9812 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.1934, allocations: 0.6682 MB / 0.9819 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.1972, allocations: 2.252 MB / 0.9841 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.1994, allocations: 1.245 MB / 0.9853 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003897/0.2033, allocations: 5.503 MB / 0.9907 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.2044, allocations: 1.116 MB / 0.9918 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.206, allocations: 1.334 MB / 0.9931 GB, free: 488 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009893/0.207, allocations: 1.131 MB / 0.9942 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.2071, allocations: 56 kB / 0.9942 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.2089, allocations: 1.243 MB / 0.9955 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.2091, allocations: 282.6 kB / 0.9957 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005954/0.2097, allocations: 0.7655 MB / 0.9965 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.2119, allocations: 2.699 MB / 0.9991 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.212, allocations: 0 / 0.9991 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/0.212, allocations: 0 / 0.9991 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.212, allocations: 0 / 0.9991 GB, free: 10.29 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002548/0.2145, allocations: 1.787 MB / 1.001 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2146, allocations: 12.02 kB / 1.001 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.2147, allocations: 148.1 kB / 1.001 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006512/0.2154, allocations: 234.9 kB / 1.001 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.2173, allocations: 1.477 MB / 1.003 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.2173, allocations: 78 kB / 1.003 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.2175, allocations: 100 kB / 1.003 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.2191, allocations: 1.116 MB / 1.004 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.2192, allocations: 7.922 kB / 1.004 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.2193, allocations: 36 kB / 1.004 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.2193, allocations: 28 kB / 1.004 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.221, allocations: 0.9251 MB / 1.005 GB, free: 4.18 MB / 0.6511 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.004628/0.2256, allocations: 4.899 MB / 1.01 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.2268, allocations: 0.659 MB / 1.01 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006366/0.2275, allocations: 372.8 kB / 1.011 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/0.228, allocations: 0.8238 MB / 1.011 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.228, allocations: 39.12 kB / 1.012 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 1.723e-06/0.228, allocations: 0 / 1.012 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.00641/0.2344, allocations: 1.892 MB / 1.013 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2345, allocations: 55.97 kB / 1.013 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2358, allocations: 1.205 MB / 1.015 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.2358, allocations: 37.7 kB / 1.015 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.2362, allocations: 0.6064 MB / 1.015 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.2364, allocations: 212.9 kB / 1.015 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.2365, allocations: 65.69 kB / 1.016 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.2366, allocations: 330 kB / 1.016 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.2372, allocations: 309.8 kB / 1.016 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/0.2379, allocations: 0.5076 MB / 1.017 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.2392, allocations: 0.7559 MB / 1.017 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2393, allocations: 3.938 kB / 1.017 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004199/0.2435, allocations: 1.402 MB / 1.019 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.478e-05/0.2436, allocations: 193.9 kB / 1.019 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2436, allocations: 4 kB / 1.019 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.2441, allocations: 144.7 kB / 1.019 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.2446, allocations: 175.8 kB / 1.019 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006748/0.2453, allocations: 0.7083 MB / 1.02 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/0.2462, allocations: 171.1 kB / 1.02 GB, free: 3.848 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/0.2463, allocations: 35.98 kB / 1.02 GB, free: 3.812 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-06/0.2463, allocations: 4 kB / 1.02 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004013/0.2503, allocations: 1.246 MB / 1.021 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2503, allocations: 8.031 kB / 1.021 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004322/0.2507, allocations: 148.7 kB / 1.021 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.2513, allocations: 171.8 kB / 1.022 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006978/0.252, allocations: 0.7045 MB / 1.022 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/0.2529, allocations: 169.6 kB / 1.022 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.2529, allocations: 28 kB / 1.023 GB, free: 1.312 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004889/0.2534, allocations: 416.9 kB / 1.023 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.2536, allocations: 134.3 kB / 1.023 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.2578, allocations: 1.396 MB / 1.024 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.2578, allocations: 11.98 kB / 1.024 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2578, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003708/0.2615, allocations: 1.236 MB / 1.026 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005521/0.2671, allocations: 2.735 MB / 1.028 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2671, allocations: 7.938 kB / 1.028 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/0.2675, allocations: 127.8 kB / 1.028 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004205/0.268, allocations: 136.7 kB / 1.029 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.268, allocations: 20 kB / 1.029 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/0.272, allocations: 2.431 MB / 1.031 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.272, allocations: 7.938 kB / 1.031 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/0.2767, allocations: 1.848 MB / 1.033 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.2771, allocations: 303.2 kB / 1.033 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.2773, allocations: 19.98 kB / 1.033 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.278, allocations: 95.89 kB / 1.033 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2781, allocations: 60.25 kB / 1.033 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.2782, allocations: 28.27 kB / 1.033 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009913/0.2792, allocations: 0.8658 MB / 1.034 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2792, allocations: 0 / 1.034 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001431/0.2806, allocations: 0.7135 MB / 1.035 GB, free: 4.328 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00553/0.2862, allocations: 2.733 MB / 1.037 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.2884, allocations: 1.172 MB / 1.039 GB, free: 364 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2884, allocations: 0 / 1.039 GB, free: 364 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.2897, allocations: 0.5994 MB / 1.039 GB, free: 15.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/0.2931, allocations: 0.7981 MB / 1.04 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.3138, allocations: 11.1 MB / 1.051 GB, free: 3.359 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.3144, allocations: 1.165 MB / 1.052 GB, free: 2.164 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009868/0.3154, allocations: 299 kB / 1.052 GB, free: 1.867 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/0.316, allocations: 0.511 MB / 1.053 GB, free: 1.355 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.316, allocations: 4 kB / 1.053 GB, free: 1.352 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4681/0.7842, allocations: 42.41 MB / 1.094 GB, free: 130.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/0.7843, allocations: 277.8 kB / 1.094 GB, free: 129.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/3.897, allocations: 3.562 kB / 1.094 GB, free: 129.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)