Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007826/0.0007826, allocations: 184.8 kB / 16.92 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6707/0.6707, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002708, allocations: 8 kB / 495.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 77.53 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.268/0.3885, allocations: 59.73 MB / 0.6184 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.4041, allocations: 11.93 MB / 0.63 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.4058, allocations: 49.06 kB / 0.6301 GB, free: 7.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.4074, allocations: 0.551 MB / 0.6306 GB, free: 6.758 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.412, allocations: 1.803 MB / 0.6324 GB, free: 5.684 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.4147, allocations: 1.078 MB / 0.6334 GB, free: 5.004 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004429/0.4191, allocations: 3.924 MB / 0.6373 GB, free: 2.809 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.4206, allocations: 0.9055 MB / 0.6381 GB, free: 2.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.4229, allocations: 1.123 MB / 0.6392 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.4243, allocations: 0.8694 MB / 0.6401 GB, free: 1.074 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.4245, allocations: 42.31 kB / 0.6401 GB, free: 1.074 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.4269, allocations: 1.336 MB / 0.6414 GB, free: 320 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.4272, allocations: 212.2 kB / 0.6416 GB, free: 160 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008136/0.428, allocations: 0.6458 MB / 0.6423 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.4308, allocations: 2.205 MB / 0.6444 GB, free: 14.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4308, allocations: 1.375 kB / 0.6444 GB, free: 14.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4308, allocations: 0 / 0.6444 GB, free: 14.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.847e-05/0.4309, allocations: 0 / 0.6444 GB, free: 14.29 MB / 478.1 MB 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.002868/0.4337, allocations: 1.52 MB / 0.6459 GB, free: 13.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4338, allocations: 10.03 kB / 0.6459 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/0.434, allocations: 120.5 kB / 0.646 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.4361, allocations: 472 kB / 0.6465 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.438, allocations: 1.139 MB / 0.6476 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/0.4384, allocations: 124.8 kB / 0.6477 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4385, allocations: 83.34 kB / 0.6478 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.4404, allocations: 1.026 MB / 0.6488 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4405, allocations: 0 / 0.6488 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.4406, allocations: 37.84 kB / 0.6488 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.4406, allocations: 18.75 kB / 0.6488 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.4429, allocations: 0.9507 MB / 0.6498 GB, free: 10.69 MB / 478.1 MB 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.005925/0.4488, allocations: 4.917 MB / 0.6546 GB, free: 5.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/0.4524, allocations: 0.9024 MB / 0.6555 GB, free: 4.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008148/0.4533, allocations: 346.4 kB / 0.6558 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.4539, allocations: 0.9025 MB / 0.6567 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.4539, allocations: 46.44 kB / 0.6567 GB, free: 3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.4539, allocations: 0 / 0.6567 GB, free: 3 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.006598/0.4605, allocations: 1.849 MB / 0.6585 GB, free: 1.121 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.4606, allocations: 59.41 kB / 0.6586 GB, free: 1.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.462, allocations: 1.048 MB / 0.6596 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.462, allocations: 41.7 kB / 0.6596 GB, free: 15.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.4625, allocations: 0.5351 MB / 0.6602 GB, free: 15.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.4626, allocations: 153.7 kB / 0.6603 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.4627, allocations: 49.69 kB / 0.6604 GB, free: 15.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4628, allocations: 326 kB / 0.6607 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009726/0.4638, allocations: 348.9 kB / 0.661 GB, free: 14.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.4649, allocations: 0.5411 MB / 0.6615 GB, free: 13.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.4667, allocations: 0.7763 MB / 0.6623 GB, free: 13.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4667, allocations: 7.938 kB / 0.6623 GB, free: 13.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002788/0.4695, allocations: 1.086 MB / 0.6634 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.4697, allocations: 217.2 kB / 0.6636 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.4697, allocations: 4 kB / 0.6636 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.471, allocations: 340.6 kB / 0.6639 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.4716, allocations: 139.7 kB / 0.664 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.4731, allocations: 0.9432 MB / 0.6649 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.4744, allocations: 199.3 kB / 0.6651 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.4745, allocations: 27.98 kB / 0.6652 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.525e-06/0.4745, allocations: 4 kB / 0.6652 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002546/0.477, allocations: 0.9529 MB / 0.6661 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4771, allocations: 4 kB / 0.6661 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.4781, allocations: 322.8 kB / 0.6664 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.4787, allocations: 135.8 kB / 0.6665 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.4801, allocations: 0.9348 MB / 0.6674 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.4813, allocations: 176.9 kB / 0.6676 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.4813, allocations: 27.98 kB / 0.6676 GB, free: 7.449 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0004585/0.4818, allocations: 353 kB / 0.668 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.4819, allocations: 114.6 kB / 0.6681 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/0.4853, allocations: 1.2 MB / 0.6693 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.4853, allocations: 8 kB / 0.6693 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4853, allocations: 0 / 0.6693 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4854, allocations: 3.984 kB / 0.6693 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/0.4906, allocations: 2.296 MB / 0.6715 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.4906, allocations: 4 kB / 0.6715 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.4909, allocations: 92.09 kB / 0.6716 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.492, allocations: 319.4 kB / 0.6719 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.492, allocations: 15.98 kB / 0.6719 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.4935, allocations: 0.966 MB / 0.6729 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4935, allocations: 4.031 kB / 0.6729 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003828/0.4973, allocations: 1.318 MB / 0.6742 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.4978, allocations: 287.4 kB / 0.6744 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.4979, allocations: 19.98 kB / 0.6745 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009186/0.4989, allocations: 115.8 kB / 0.6746 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.499, allocations: 51.59 kB / 0.6746 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.499, allocations: 20 kB / 0.6746 GB, free: 104 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.5001, allocations: 0.7471 MB / 0.6754 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5001, allocations: 0 / 0.6754 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001398/0.5015, allocations: 0.5652 MB / 0.6759 GB, free: 14.78 MB / 0.4981 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 (34): * Single equations (assignments): 29 * 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.004563/0.5061, allocations: 2.137 MB / 0.678 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003169/0.5093, allocations: 1.234 MB / 0.6792 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5093, allocations: 0 / 0.6792 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.5102, allocations: 394.5 kB / 0.6796 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.5128, allocations: 0.5135 MB / 0.6801 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.5303, allocations: 9.361 MB / 0.6892 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.5309, allocations: 1.069 MB / 0.6903 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008224/0.5317, allocations: 220.4 kB / 0.6905 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.5322, allocations: 411.3 kB / 0.6909 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.5322, allocations: 0 / 0.6909 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5383/1.07, allocations: 32.32 MB / 0.7224 GB, free: 15.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/1.071, allocations: 278.8 kB / 0.7227 GB, free: 14.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.591, allocations: 3.094 kB / 0.7227 GB, free: 14.72 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)