Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.0009142/0.0009142, allocations: 92.8 kB / 16.02 MB, free: 84 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.000992/0.0009921, allocations: 182.2 kB / 16.92 MB, free: 6.684 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.28/1.28, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6573/0.6573, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.00028, allocations: 12 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 77.53 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.2743/0.3965, allocations: 59.69 MB / 0.6183 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.4116, allocations: 11.93 MB / 0.63 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.4134, allocations: 53.88 kB / 0.63 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.4149, allocations: 0.5391 MB / 0.6306 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.4195, allocations: 1.806 MB / 0.6323 GB, free: 5.531 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.422, allocations: 1.079 MB / 0.6334 GB, free: 4.898 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004095/0.4261, allocations: 3.908 MB / 0.6372 GB, free: 2.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.4273, allocations: 0.9209 MB / 0.6381 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.4292, allocations: 1.117 MB / 0.6392 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009195/0.4301, allocations: 0.862 MB / 0.64 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.574e-05/0.4302, allocations: 45.91 kB / 0.6401 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.4324, allocations: 1.344 MB / 0.6414 GB, free: 216 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.4325, allocations: 215.4 kB / 0.6416 GB, free: 52 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005035/0.4331, allocations: 0.6355 MB / 0.6422 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.435, allocations: 2.215 MB / 0.6444 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4351, allocations: 0 / 0.6444 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4351, allocations: 0 / 0.6444 GB, free: 14.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.4351, allocations: 0 / 0.6444 GB, free: 14.18 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.002198/0.4373, allocations: 1.5 MB / 0.6458 GB, free: 13.01 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.4373, allocations: 9.938 kB / 0.6459 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.4374, allocations: 120 kB / 0.646 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.4397, allocations: 0.526 MB / 0.6465 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.4413, allocations: 1.138 MB / 0.6476 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/0.4417, allocations: 134.9 kB / 0.6477 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.4418, allocations: 82.41 kB / 0.6478 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.4436, allocations: 1.029 MB / 0.6488 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4436, allocations: 2.594 kB / 0.6488 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.4437, allocations: 37.34 kB / 0.6488 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.4437, allocations: 20.19 kB / 0.6489 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.446, allocations: 0.9956 MB / 0.6498 GB, free: 10.54 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.005184/0.4512, allocations: 4.711 MB / 0.6544 GB, free: 5.473 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004047/0.4553, allocations: 1.132 MB / 0.6555 GB, free: 4.336 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.4563, allocations: 444.2 kB / 0.656 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008469/0.4572, allocations: 1.029 MB / 0.657 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4572, allocations: 39 kB / 0.657 GB, free: 2.605 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 1.834e-06/0.4573, allocations: 0 / 0.657 GB, free: 2.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.007543/0.4648, allocations: 2.154 MB / 0.6591 GB, free: 432 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.4648, allocations: 59.78 kB / 0.6592 GB, free: 360 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.4659, allocations: 0.9473 MB / 0.6601 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.466, allocations: 37.7 kB / 0.6601 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.4663, allocations: 0.5041 MB / 0.6606 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.4665, allocations: 189.2 kB / 0.6608 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.4666, allocations: 57.69 kB / 0.6609 GB, free: 14.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.4667, allocations: 326 kB / 0.6612 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4677, allocations: 376.9 kB / 0.6615 GB, free: 13.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.4688, allocations: 0.542 MB / 0.6621 GB, free: 13.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.4709, allocations: 0.8166 MB / 0.6629 GB, free: 12.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4709, allocations: 4 kB / 0.6629 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002771/0.4737, allocations: 1.131 MB / 0.664 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.238e-05/0.4738, allocations: 168.4 kB / 0.6641 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4738, allocations: 4 kB / 0.6641 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.475, allocations: 328.5 kB / 0.6644 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.4756, allocations: 143.8 kB / 0.6646 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.477, allocations: 0.9347 MB / 0.6655 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.4781, allocations: 176.5 kB / 0.6657 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.4782, allocations: 31.98 kB / 0.6657 GB, free: 9.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-06/0.4782, allocations: 4 kB / 0.6657 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00264/0.4808, allocations: 1.001 MB / 0.6667 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.4809, allocations: 0 / 0.6667 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.4819, allocations: 323 kB / 0.667 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.4825, allocations: 139.8 kB / 0.6671 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.4838, allocations: 0.9385 MB / 0.668 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/0.4848, allocations: 177 kB / 0.6682 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.4849, allocations: 27.98 kB / 0.6682 GB, free: 6.84 MB / 494.1 MB 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 (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.0003882/0.4853, allocations: 345 kB / 0.6685 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4854, allocations: 118.6 kB / 0.6687 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.4884, allocations: 1.225 MB / 0.6699 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.4884, allocations: 8 kB / 0.6699 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4884, allocations: 0 / 0.6699 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4884, allocations: 3.984 kB / 0.6699 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/0.4926, allocations: 2.327 MB / 0.6721 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4926, allocations: 192 / 0.6721 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/0.4931, allocations: 115.8 kB / 0.6723 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000987/0.4941, allocations: 324.6 kB / 0.6726 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.4942, allocations: 15.98 kB / 0.6726 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.4956, allocations: 0.9718 MB / 0.6735 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4956, allocations: 4.031 kB / 0.6735 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003639/0.4992, allocations: 1.402 MB / 0.6749 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.4996, allocations: 291.4 kB / 0.6752 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4997, allocations: 16 kB / 0.6752 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/0.5007, allocations: 127.8 kB / 0.6753 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.5008, allocations: 40.38 kB / 0.6754 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.5008, allocations: 27.97 kB / 0.6754 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007955/0.5016, allocations: 0.6598 MB / 0.676 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5016, allocations: 0 / 0.676 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001292/0.5029, allocations: 0.569 MB / 0.6766 GB, free: 14.09 MB / 0.4981 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.003573/0.5065, allocations: 2.069 MB / 0.6786 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003554/0.5101, allocations: 1.397 MB / 0.68 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5101, allocations: 0 / 0.68 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.5113, allocations: 484.9 kB / 0.6804 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.5139, allocations: 0.5065 MB / 0.6809 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.5303, allocations: 9.164 MB / 0.6899 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.5309, allocations: 1.074 MB / 0.6909 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009522/0.5319, allocations: 228.5 kB / 0.6911 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.5324, allocations: 419.3 kB / 0.6915 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.5324, allocations: 0 / 0.6915 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.78/3.312, allocations: 31.62 MB / 0.7224 GB, free: 15.19 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/3.312, allocations: 276.5 kB / 0.7227 GB, free: 14.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/5.814, allocations: 0 / 0.7227 GB, free: 14.81 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)