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_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.223/1.223, 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.0008338/0.0008338, allocations: 179.6 kB / 325.9 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.3/1.3, 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.0006999/0.0006999, allocations: 94.78 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.0002644, allocations: 11.78 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, 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_reverseFlow): time 0.03325/0.1662, allocations: 60.56 MB / 0.9553 GB, free: 7.363 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.1772, allocations: 11.93 MB / 0.967 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007765/0.178, allocations: 51.69 kB / 0.967 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1791, allocations: 0.5477 MB / 0.9676 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.182, allocations: 1.789 MB / 0.9693 GB, free: 9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.184, allocations: 1.1 MB / 0.9704 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002773/0.1868, allocations: 3.898 MB / 0.9742 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008985/0.1877, allocations: 0.8929 MB / 0.9751 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.189, allocations: 1.116 MB / 0.9762 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000785/0.1898, allocations: 0.8708 MB / 0.977 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.503e-05/0.1899, allocations: 44 kB / 0.9771 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.1916, allocations: 1.31 MB / 0.9783 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.1918, allocations: 218.8 kB / 0.9785 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.1922, allocations: 0.6099 MB / 0.9791 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.1941, allocations: 2.196 MB / 0.9813 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1941, allocations: 0 / 0.9813 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1941, allocations: 3.938 kB / 0.9813 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.1941, allocations: 0 / 0.9813 GB, free: 12.68 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002124/0.1962, allocations: 1.505 MB / 0.9828 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1963, allocations: 8.031 kB / 0.9828 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.1964, allocations: 126.9 kB / 0.9829 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.1986, allocations: 0.5144 MB / 0.9834 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.2002, allocations: 1.144 MB / 0.9845 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003273/0.2006, allocations: 137.9 kB / 0.9846 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.2007, allocations: 80 kB / 0.9847 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.2025, allocations: 1.029 MB / 0.9857 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2025, allocations: 3.938 kB / 0.9857 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.2026, allocations: 32 kB / 0.9857 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2026, allocations: 16 kB / 0.9858 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.2049, allocations: 1.003 MB / 0.9867 GB, free: 6.93 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.004922/0.2098, allocations: 4.71 MB / 0.9913 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.2137, allocations: 1.127 MB / 0.9924 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000957/0.2146, allocations: 441.9 kB / 0.9929 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007927/0.2154, allocations: 1.029 MB / 0.9939 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2155, allocations: 46.92 kB / 0.9939 GB, free: 15 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 1.643e-06/0.2155, allocations: 0 / 0.9939 GB, free: 15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.00691/0.2224, allocations: 2.154 MB / 0.996 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.2224, allocations: 55.84 kB / 0.9961 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/0.2234, allocations: 0.9474 MB / 0.997 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.2235, allocations: 37.7 kB / 0.997 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.2238, allocations: 0.5041 MB / 0.9975 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.2239, allocations: 181.3 kB / 0.9977 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.224, allocations: 49.7 kB / 0.9977 GB, free: 11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.2241, allocations: 341.9 kB / 0.9981 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009207/0.225, allocations: 372.9 kB / 0.9984 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.2261, allocations: 0.536 MB / 0.999 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.2279, allocations: 0.8204 MB / 0.9998 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.228, allocations: 0 / 0.9998 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002543/0.2305, allocations: 1.123 MB / 1.001 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.2306, allocations: 160.3 kB / 1.001 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2306, allocations: 11.97 kB / 1.001 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.2317, allocations: 328.5 kB / 1.001 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.2323, allocations: 147.8 kB / 1.001 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.2335, allocations: 0.9286 MB / 1.002 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009041/0.2345, allocations: 179.3 kB / 1.003 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.2345, allocations: 31.92 kB / 1.003 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/0.2345, allocations: 4 kB / 1.003 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002391/0.2369, allocations: 0.9937 MB / 1.004 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.237, allocations: 4 kB / 1.004 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009173/0.2379, allocations: 320.8 kB / 1.004 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005577/0.2384, allocations: 135.8 kB / 1.004 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.2397, allocations: 0.9437 MB / 1.005 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000875/0.2406, allocations: 159.5 kB / 1.005 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.2406, allocations: 43.97 kB / 1.005 GB, free: 3.262 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * 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.0003354/0.241, allocations: 348 kB / 1.005 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.2411, allocations: 114.5 kB / 1.006 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.2439, allocations: 1.222 MB / 1.007 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.2439, allocations: 8 kB / 1.007 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2439, allocations: 0 / 1.007 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.2439, allocations: 3.984 kB / 1.007 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.2477, allocations: 2.308 MB / 1.009 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.2477, allocations: 7.875 kB / 1.009 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.2482, allocations: 120 kB / 1.009 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008954/0.2491, allocations: 331 kB / 1.009 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.2492, allocations: 15.98 kB / 1.009 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.2505, allocations: 0.9644 MB / 1.01 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.2505, allocations: 7.969 kB / 1.01 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/0.2538, allocations: 1.402 MB / 1.012 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.2541, allocations: 283.4 kB / 1.012 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.2542, allocations: 15.94 kB / 1.012 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/0.2551, allocations: 123.9 kB / 1.012 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.2552, allocations: 44.31 kB / 1.012 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.2552, allocations: 23.98 kB / 1.012 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007089/0.2559, allocations: 0.6638 MB / 1.013 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2559, allocations: 4 kB / 1.013 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001034/0.257, allocations: 0.5652 MB / 1.013 GB, free: 10.52 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003261/0.2602, allocations: 2.06 MB / 1.015 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003241/0.2635, allocations: 1.381 MB / 1.017 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2635, allocations: 0 / 1.017 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.2646, allocations: 488.8 kB / 1.017 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.2669, allocations: 0.5083 MB / 1.018 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/0.282, allocations: 9.114 MB / 1.027 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.2825, allocations: 1.082 MB / 1.028 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008091/0.2833, allocations: 224.5 kB / 1.028 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.2838, allocations: 419.3 kB / 1.028 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/0.2838, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5973/0.8811, allocations: 31.7 MB / 1.059 GB, free: 149.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.8813, allocations: 290 kB / 1.06 GB, free: 149.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/3.62, allocations: 0 / 1.06 GB, free: 149.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)