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.55/1.55, allocations: 252 MB / 267 MB, free: 10.98 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.001125/0.001125, allocations: 176.1 kB / 326.6 MB, free: 2.254 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.71/1.71, allocations: 205.4 MB / 0.5776 GB, free: 20.59 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.0007597/0.0007601, allocations: 84.09 kB / 0.6822 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 9.094 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 106.3 MB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.03973/0.233, allocations: 56.55 MB / 0.9555 GB, free: 7.684 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.2454, allocations: 11.1 MB / 0.9664 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.247, allocations: 51.62 kB / 0.9664 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.2484, allocations: 472.8 kB / 0.9669 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.2524, allocations: 1.517 MB / 0.9683 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.2548, allocations: 0.8803 MB / 0.9692 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004085/0.2589, allocations: 3.379 MB / 0.9725 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.2602, allocations: 0.7989 MB / 0.9733 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.2623, allocations: 1.038 MB / 0.9743 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.2634, allocations: 0.8283 MB / 0.9751 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.2635, allocations: 44 kB / 0.9751 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.2657, allocations: 1.084 MB / 0.9762 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.266, allocations: 206.9 kB / 0.9764 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003756/0.2664, allocations: 289 kB / 0.9767 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.2686, allocations: 1.633 MB / 0.9783 GB, free: 308 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.2686, allocations: 0 / 0.9783 GB, free: 308 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2686, allocations: 4 kB / 0.9783 GB, free: 304 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.2687, allocations: 4 kB / 0.9783 GB, free: 300 kB / 0.6198 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.002875/0.2716, allocations: 1.52 MB / 0.9798 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2716, allocations: 8.031 kB / 0.9798 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.2718, allocations: 126.7 kB / 0.9799 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/0.2743, allocations: 0.5213 MB / 0.9804 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.2764, allocations: 1.098 MB / 0.9815 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.2767, allocations: 125.9 kB / 0.9816 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2769, allocations: 80 kB / 0.9817 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.2791, allocations: 1.033 MB / 0.9827 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2791, allocations: 0 / 0.9827 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.2792, allocations: 32 kB / 0.9827 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.2792, allocations: 16 kB / 0.9827 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.2818, allocations: 0.9992 MB / 0.9837 GB, free: 10.58 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.006164/0.288, allocations: 4.691 MB / 0.9883 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.2923, allocations: 1.132 MB / 0.9894 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.2934, allocations: 437.9 kB / 0.9898 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.2944, allocations: 1.033 MB / 0.9908 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2945, allocations: 39 kB / 0.9908 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 2.855e-06/0.2945, allocations: 0 / 0.9908 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.007859/0.3023, allocations: 2.139 MB / 0.9929 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3024, allocations: 59.83 kB / 0.993 GB, free: 444 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.3038, allocations: 0.9357 MB / 0.9939 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/0.3039, allocations: 37.7 kB / 0.9939 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.3044, allocations: 0.5119 MB / 0.9944 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.3046, allocations: 177.4 kB / 0.9946 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.3047, allocations: 12 kB / 0.9946 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3049, allocations: 326 kB / 0.9949 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3059, allocations: 368.9 kB / 0.9953 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.3071, allocations: 0.5381 MB / 0.9958 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.3081, allocations: 385.9 kB / 0.9962 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3082, allocations: 4 kB / 0.9962 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003915/0.3121, allocations: 1.115 MB / 0.9973 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.3122, allocations: 164.5 kB / 0.9974 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3122, allocations: 0 / 0.9974 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.3136, allocations: 330.3 kB / 0.9977 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.3143, allocations: 147.8 kB / 0.9979 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.3159, allocations: 0.9502 MB / 0.9988 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.3171, allocations: 163.4 kB / 0.999 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.3172, allocations: 31.97 kB / 0.999 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.3172, allocations: 6.656 kB / 0.999 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002752/0.32, allocations: 0.9859 MB / 1 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.32, allocations: 4.312 kB / 1 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.3211, allocations: 326.5 kB / 1 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.3218, allocations: 143.8 kB / 1 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.3233, allocations: 0.9309 MB / 1.001 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.3246, allocations: 167.4 kB / 1.001 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.3246, allocations: 35.97 kB / 1.002 GB, free: 7.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005891/0.3252, allocations: 347.9 kB / 1.002 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.3254, allocations: 114.6 kB / 1.002 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/0.3286, allocations: 1.214 MB / 1.003 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.3286, allocations: 12 kB / 1.003 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3287, allocations: 0 / 1.003 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3287, allocations: 3.984 kB / 1.003 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/0.3331, allocations: 2.311 MB / 1.005 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.3332, allocations: 0 / 1.005 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/0.3337, allocations: 120 kB / 1.006 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.3348, allocations: 324.6 kB / 1.006 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.3348, allocations: 15.98 kB / 1.006 GB, free: 2.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.3364, allocations: 0.976 MB / 1.007 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3364, allocations: 3.984 kB / 1.007 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/0.3402, allocations: 1.386 MB / 1.008 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.3407, allocations: 291.4 kB / 1.008 GB, free: 224 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.3408, allocations: 19.88 kB / 1.008 GB, free: 204 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009606/0.3418, allocations: 127.8 kB / 1.009 GB, free: 76 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.3419, allocations: 40.33 kB / 1.009 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/0.342, allocations: 23.98 kB / 1.009 GB, free: 12 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009205/0.3429, allocations: 0.6678 MB / 1.009 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3429, allocations: 0 / 1.009 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001499/0.3444, allocations: 0.5535 MB / 1.01 GB, free: 14.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003818/0.3482, allocations: 2.048 MB / 1.012 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003839/0.3521, allocations: 1.374 MB / 1.013 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.3521, allocations: 0 / 1.013 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.3534, allocations: 488.8 kB / 1.014 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.356, allocations: 0.5089 MB / 1.014 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.3709, allocations: 6.738 MB / 1.021 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/0.3718, allocations: 1.074 MB / 1.022 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001366/0.3732, allocations: 234.8 kB / 1.022 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000599/0.3738, allocations: 419.3 kB / 1.022 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of SimCode: time 1.202e-06/0.3738, allocations: 0 / 1.022 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06211/0.436, allocations: 33.24 MB / 1.055 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.4363, allocations: 280.8 kB / 1.055 GB, free: 384 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.423/3.859, allocations: 4 kB / 1.055 GB, free: 380 kB / 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)