Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IDEAS_IDEAS_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.0008305/0.0008305, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7549/0.7549, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005896/0.0005897, allocations: 8 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5137, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.0584/0.5722, allocations: 56.5 MB / 0.6383 GB, free: 7.895 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.5879, allocations: 11.21 MB / 0.6493 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.59, allocations: 51.62 kB / 0.6493 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.5916, allocations: 464.9 kB / 0.6498 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.5966, allocations: 1.526 MB / 0.6513 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.5994, allocations: 0.8637 MB / 0.6521 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004653/0.6041, allocations: 3.386 MB / 0.6554 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.6057, allocations: 0.8223 MB / 0.6562 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.6082, allocations: 1.042 MB / 0.6572 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.6094, allocations: 0.8088 MB / 0.658 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.6095, allocations: 44 kB / 0.6581 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.6119, allocations: 1.103 MB / 0.6591 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.6121, allocations: 206.9 kB / 0.6593 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.6125, allocations: 289 kB / 0.6596 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001912/0.6144, allocations: 1.645 MB / 0.6612 GB, free: 392 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.6144, allocations: 7.984 kB / 0.6612 GB, free: 384 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6144, allocations: 0 / 0.6612 GB, free: 384 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.6144, allocations: 0 / 0.6612 GB, free: 384 kB / 494.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.002664/0.6171, allocations: 1.512 MB / 0.6627 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6172, allocations: 8.031 kB / 0.6627 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.6173, allocations: 122.8 kB / 0.6628 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.6196, allocations: 0.5174 MB / 0.6633 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.6218, allocations: 1.094 MB / 0.6644 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.6222, allocations: 133.8 kB / 0.6645 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.6223, allocations: 80 kB / 0.6646 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.6244, allocations: 1.029 MB / 0.6656 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.6245, allocations: 0 / 0.6656 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.534e-05/0.6246, allocations: 28 kB / 0.6656 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.6246, allocations: 20 kB / 0.6656 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.627, allocations: 1.011 MB / 0.6666 GB, free: 10.67 MB / 0.4981 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.006692/0.6337, allocations: 4.699 MB / 0.6712 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/0.6376, allocations: 1.121 MB / 0.6723 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009932/0.6386, allocations: 437.9 kB / 0.6727 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009506/0.6396, allocations: 1.033 MB / 0.6737 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.6396, allocations: 39 kB / 0.6738 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.235e-06/0.6396, allocations: 0 / 0.6738 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.006958/0.6466, allocations: 2.15 MB / 0.6759 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.6466, allocations: 55.84 kB / 0.6759 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6481, allocations: 0.9318 MB / 0.6768 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/0.6482, allocations: 37.7 kB / 0.6769 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.6486, allocations: 0.5079 MB / 0.6774 GB, free: 15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.6488, allocations: 181.3 kB / 0.6776 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.6488, allocations: 15.94 kB / 0.6776 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6489, allocations: 330 kB / 0.6779 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009698/0.6499, allocations: 372.9 kB / 0.6782 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.651, allocations: 0.5342 MB / 0.6788 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/0.652, allocations: 401.9 kB / 0.6791 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6521, allocations: 0 / 0.6791 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00369/0.6558, allocations: 1.291 MB / 0.6804 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.6559, allocations: 156.5 kB / 0.6806 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6559, allocations: 4 kB / 0.6806 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.6571, allocations: 332.5 kB / 0.6809 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.6577, allocations: 147.8 kB / 0.681 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.6591, allocations: 0.9302 MB / 0.6819 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.6602, allocations: 179.3 kB / 0.6821 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.6603, allocations: 27.98 kB / 0.6821 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.6603, allocations: 4 kB / 0.6821 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003178/0.6635, allocations: 1.15 MB / 0.6832 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.6635, allocations: 4 kB / 0.6832 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.6645, allocations: 320.9 kB / 0.6836 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.6651, allocations: 143.8 kB / 0.6837 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.6666, allocations: 0.9308 MB / 0.6846 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.6678, allocations: 171.3 kB / 0.6848 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.6679, allocations: 31.98 kB / 0.6848 GB, free: 7.234 MB / 0.5137 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 (55): * Single equations (assignments): 54 * 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.0006429/0.6685, allocations: 349 kB / 0.6851 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.6688, allocations: 106.7 kB / 0.6852 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.6719, allocations: 1.229 MB / 0.6864 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.6719, allocations: 4 kB / 0.6864 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6719, allocations: 3.953 kB / 0.6864 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.6719, allocations: 7.969 kB / 0.6864 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/0.6766, allocations: 2.312 MB / 0.6887 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.6767, allocations: 8.031 kB / 0.6887 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.6772, allocations: 111.8 kB / 0.6888 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009861/0.6782, allocations: 330.4 kB / 0.6891 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/0.6783, allocations: 19.98 kB / 0.6892 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.6798, allocations: 0.966 MB / 0.6901 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.6798, allocations: 4.031 kB / 0.6901 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.6833, allocations: 1.402 MB / 0.6915 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/0.6839, allocations: 295.5 kB / 0.6917 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.6841, allocations: 12 kB / 0.6918 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.6851, allocations: 127.8 kB / 0.6919 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.6852, allocations: 32.39 kB / 0.6919 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.6853, allocations: 23.98 kB / 0.6919 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001045/0.6863, allocations: 0.6559 MB / 0.6926 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6863, allocations: 0 / 0.6926 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001629/0.688, allocations: 0.5691 MB / 0.6931 GB, free: 14.5 MB / 0.5294 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.003868/0.6918, allocations: 2.058 MB / 0.6951 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003594/0.6954, allocations: 1.381 MB / 0.6965 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.6955, allocations: 3.938 kB / 0.6965 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.6966, allocations: 488.9 kB / 0.697 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.6993, allocations: 0.5047 MB / 0.6975 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.7147, allocations: 6.757 MB / 0.7041 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.7154, allocations: 1.066 MB / 0.7051 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001171/0.7166, allocations: 230.8 kB / 0.7053 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/0.7172, allocations: 415.3 kB / 0.7057 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of SimCode: time 1.213e-06/0.7172, allocations: 0 / 0.7057 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05711/0.7743, allocations: 33.15 MB / 0.7381 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.7746, allocations: 257.1 kB / 0.7383 GB, free: 364 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.377, allocations: 0 / 0.7383 GB, free: 364 kB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: