Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.396/1.396, 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.0009541/0.0009541, allocations: 173.2 kB / 325.8 MB, free: 2.707 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.328/1.328, allocations: 205 MB / 0.576 GB, free: 21 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.000662/0.000662, allocations: 89.23 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002658, allocations: 14.27 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.03387/0.1765, allocations: 60.55 MB / 0.9553 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.1877, allocations: 11.93 MB / 0.967 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.1893, allocations: 55.62 kB / 0.967 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.1908, allocations: 0.5438 MB / 0.9676 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004266/0.1951, allocations: 1.786 MB / 0.9693 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.1976, allocations: 1.1 MB / 0.9704 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003992/0.2016, allocations: 3.882 MB / 0.9742 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.2028, allocations: 0.8806 MB / 0.975 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.2049, allocations: 1.128 MB / 0.9761 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.2061, allocations: 0.8709 MB / 0.977 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.2063, allocations: 44 kB / 0.977 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.2088, allocations: 1.337 MB / 0.9783 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.209, allocations: 222.8 kB / 0.9785 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.2097, allocations: 0.6099 MB / 0.9791 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.212, allocations: 2.22 MB / 0.9813 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.212, allocations: 0 / 0.9813 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.222e-06/0.212, allocations: 0 / 0.9813 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.212, allocations: 0 / 0.9813 GB, free: 12.66 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.002308/0.2143, allocations: 1.501 MB / 0.9828 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2144, allocations: 8.031 kB / 0.9828 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.2145, allocations: 118.9 kB / 0.9829 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.216, allocations: 390.9 kB / 0.9833 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.2177, allocations: 1.14 MB / 0.9844 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.2181, allocations: 125.9 kB / 0.9845 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.2182, allocations: 84 kB / 0.9846 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.2198, allocations: 0.9644 MB / 0.9855 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2199, allocations: 0 / 0.9855 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/0.2199, allocations: 36 kB / 0.9855 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.22, allocations: 20 kB / 0.9856 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.2219, allocations: 0.8626 MB / 0.9864 GB, free: 7.258 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.005366/0.2273, allocations: 4.564 MB / 0.9909 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.2288, allocations: 0.6501 MB / 0.9915 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/0.2294, allocations: 307.8 kB / 0.9918 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.2308, allocations: 1.396 MB / 0.9932 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2308, allocations: 39 kB / 0.9932 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/0.2308, allocations: 0 / 0.9932 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.005541/0.2364, allocations: 1.768 MB / 0.9949 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.2364, allocations: 59.84 kB / 0.995 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.2377, allocations: 1.06 MB / 0.996 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.625e-05/0.2378, allocations: 37.7 kB / 0.9961 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.2382, allocations: 0.5236 MB / 0.9966 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2383, allocations: 169.6 kB / 0.9967 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.2384, allocations: 49.69 kB / 0.9968 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.2385, allocations: 326 kB / 0.9971 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.2392, allocations: 312.9 kB / 0.9974 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008881/0.2401, allocations: 490.5 kB / 0.9978 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.2415, allocations: 0.6691 MB / 0.9985 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2415, allocations: 3.938 kB / 0.9985 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002254/0.2438, allocations: 1.011 MB / 0.9995 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.2439, allocations: 183.5 kB / 0.9997 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.2439, allocations: 8 kB / 0.9997 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.2451, allocations: 333.8 kB / 1 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.2456, allocations: 123.8 kB / 1 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.2469, allocations: 0.9445 MB / 1.001 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.2479, allocations: 179.2 kB / 1.001 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.248, allocations: 31.98 kB / 1.001 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.032e-06/0.248, allocations: 4 kB / 1.001 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002021/0.2501, allocations: 0.8737 MB / 1.002 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.2501, allocations: 4 kB / 1.002 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009523/0.251, allocations: 328.7 kB / 1.002 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.2515, allocations: 115.9 kB / 1.003 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.2528, allocations: 0.9479 MB / 1.003 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/0.2537, allocations: 151.3 kB / 1.004 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.2537, allocations: 31.98 kB / 1.004 GB, free: 4.699 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0004087/0.2541, allocations: 349 kB / 1.004 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.2543, allocations: 110.7 kB / 1.004 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.257, allocations: 1.135 MB / 1.005 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2571, allocations: 8 kB / 1.005 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2571, allocations: 0 / 1.005 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.2571, allocations: 7.922 kB / 1.005 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004247/0.2613, allocations: 2.245 MB / 1.007 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.2614, allocations: 0 / 1.007 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.2616, allocations: 67.89 kB / 1.007 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009124/0.2625, allocations: 332.6 kB / 1.008 GB, free: 352 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.2626, allocations: 16 kB / 1.008 GB, free: 336 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.2639, allocations: 0.9815 MB / 1.009 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2639, allocations: 4 kB / 1.009 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.2672, allocations: 1.255 MB / 1.01 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.2675, allocations: 263.5 kB / 1.01 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.2677, allocations: 12 kB / 1.01 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.2684, allocations: 99.84 kB / 1.01 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.2685, allocations: 47.27 kB / 1.01 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.2686, allocations: 23.98 kB / 1.01 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009859/0.2696, allocations: 0.7469 MB / 1.011 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2696, allocations: 0 / 1.011 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001224/0.2708, allocations: 0.5692 MB / 1.012 GB, free: 12.23 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 (38): * Single equations (assignments): 33 * 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.003982/0.2748, allocations: 2.07 MB / 1.014 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002552/0.2774, allocations: 1.116 MB / 1.015 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2774, allocations: 0 / 1.015 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.2781, allocations: 358.7 kB / 1.015 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.2805, allocations: 0.5324 MB / 1.016 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.2967, allocations: 9.186 MB / 1.025 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.2973, allocations: 1.07 MB / 1.026 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008938/0.2982, allocations: 228.8 kB / 1.026 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.2986, allocations: 407.3 kB / 1.026 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/0.2986, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/1.308, allocations: 33.09 MB / 1.059 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.308, allocations: 291.3 kB / 1.059 GB, free: 149 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/4.723, allocations: 0 / 1.059 GB, free: 149 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)