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: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 104 kB / 15.6 MB, free: 148 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.001297/0.001297, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7037/0.7037, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.16 kB / 0.5018 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3712, allocations: 80.2 MB / 0.5801 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.0548/0.4261, allocations: 61.18 MB / 0.6398 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.4425, allocations: 11.98 MB / 0.6515 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.4448, allocations: 59.62 kB / 0.6516 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.4468, allocations: 0.6791 MB / 0.6523 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.4522, allocations: 1.963 MB / 0.6542 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.4553, allocations: 1.195 MB / 0.6553 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003959/0.4593, allocations: 3.079 MB / 0.6583 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.4608, allocations: 1.131 MB / 0.6595 GB, free: 200 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.4637, allocations: 1.323 MB / 0.6607 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.465, allocations: 0.9295 MB / 0.6617 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.4652, allocations: 120 kB / 0.6618 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.4679, allocations: 1.443 MB / 0.6632 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.4682, allocations: 302.8 kB / 0.6635 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008569/0.4691, allocations: 0.7036 MB / 0.6641 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003411/0.4725, allocations: 2.306 MB / 0.6664 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4726, allocations: 0 / 0.6664 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4726, allocations: 0 / 0.6664 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.4726, allocations: 0 / 0.6664 GB, free: 9.059 MB / 0.4981 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.002995/0.4756, allocations: 1.742 MB / 0.6681 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.4756, allocations: 12.03 kB / 0.6681 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.4782, allocations: 454.8 kB / 0.6685 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.4802, allocations: 1.116 MB / 0.6696 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/0.4805, allocations: 117.9 kB / 0.6698 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.4807, allocations: 80 kB / 0.6698 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.4827, allocations: 1.006 MB / 0.6708 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4827, allocations: 0 / 0.6708 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/0.4828, allocations: 32 kB / 0.6708 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.4828, allocations: 20 kB / 0.6709 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.4853, allocations: 0.9484 MB / 0.6718 GB, free: 3.395 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.005749/0.4911, allocations: 4.711 MB / 0.6764 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/0.4951, allocations: 1 MB / 0.6774 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.4961, allocations: 409.9 kB / 0.6778 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008975/0.497, allocations: 1.017 MB / 0.6787 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.497, allocations: 35 kB / 0.6788 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 4.147e-06/0.497, allocations: 4 kB / 0.6788 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.007749/0.5048, allocations: 1.947 MB / 0.6807 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.5049, allocations: 55.84 kB / 0.6807 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.5064, allocations: 0.9591 MB / 0.6817 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.838e-05/0.5065, allocations: 45.7 kB / 0.6817 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.507, allocations: 0.5002 MB / 0.6822 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.5072, allocations: 181.3 kB / 0.6824 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.5074, allocations: 134.1 kB / 0.6825 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5076, allocations: 322 kB / 0.6828 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.5087, allocations: 362.8 kB / 0.6832 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.5099, allocations: 0.5069 MB / 0.6837 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.512, allocations: 0.758 MB / 0.6844 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.512, allocations: 0 / 0.6844 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003132/0.5151, allocations: 1.072 MB / 0.6854 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5152, allocations: 4 kB / 0.6854 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5152, allocations: 4 kB / 0.6855 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.5165, allocations: 330.9 kB / 0.6858 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.5171, allocations: 127.8 kB / 0.6859 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.5187, allocations: 0.9075 MB / 0.6868 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.5198, allocations: 123.3 kB / 0.6869 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.5199, allocations: 39.91 kB / 0.6869 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001424/0.5214, allocations: 0.5571 MB / 0.6875 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/0.5225, allocations: 0.5069 MB / 0.688 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002044/0.5246, allocations: 0.7579 MB / 0.6887 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.5246, allocations: 0 / 0.6887 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00318/0.5278, allocations: 1.053 MB / 0.6897 GB, free: 96 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5278, allocations: 10.12 kB / 0.6897 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5278, allocations: 4 kB / 0.6898 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.5291, allocations: 298.8 kB / 0.69 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.5297, allocations: 135.8 kB / 0.6902 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.5312, allocations: 0.9074 MB / 0.6911 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5323, allocations: 115.5 kB / 0.6912 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/0.5324, allocations: 27.98 kB / 0.6912 GB, free: 14.58 MB / 0.5294 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 (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.0002648/0.5326, allocations: 224.1 kB / 0.6914 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.533, allocations: 110.6 kB / 0.6915 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.5362, allocations: 1.147 MB / 0.6926 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.5363, allocations: 15.94 kB / 0.6926 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5363, allocations: 0 / 0.6926 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.5363, allocations: 3.984 kB / 0.6926 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004702/0.541, allocations: 2.26 MB / 0.6949 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.541, allocations: 0 / 0.6949 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.5415, allocations: 108 kB / 0.695 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009703/0.5425, allocations: 304.5 kB / 0.6952 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.5426, allocations: 15.98 kB / 0.6953 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.544, allocations: 0.9347 MB / 0.6962 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.544, allocations: 7.938 kB / 0.6962 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/0.5477, allocations: 1.319 MB / 0.6975 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/0.5482, allocations: 275.5 kB / 0.6977 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.5484, allocations: 12 kB / 0.6977 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009168/0.5494, allocations: 83.89 kB / 0.6978 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5495, allocations: 36.33 kB / 0.6979 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.5495, allocations: 31.97 kB / 0.6979 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000981/0.5505, allocations: 0.6792 MB / 0.6986 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5505, allocations: 3.938 kB / 0.6986 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001481/0.552, allocations: 0.5653 MB / 0.6991 GB, free: 6.281 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 (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.0008975/0.5529, allocations: 387.8 kB / 0.6995 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00391/0.5569, allocations: 1.338 MB / 0.7008 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5569, allocations: 4 kB / 0.7008 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.5581, allocations: 452.9 kB / 0.7012 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.5602, allocations: 495.2 kB / 0.7017 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.564, allocations: 1.938 MB / 0.7036 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.5647, allocations: 1.074 MB / 0.7046 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009522/0.5657, allocations: 239.9 kB / 0.7049 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.5659, allocations: 75.42 kB / 0.7049 GB, free: 280 kB / 0.5294 GB Notification: Performance of SimCode: time 5.2e-07/0.5659, allocations: 0 / 0.7049 GB, free: 280 kB / 0.5294 GB Notification: Performance of Templates: time 0.04102/0.6069, allocations: 24.68 MB / 0.729 GB, free: 7.934 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (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 & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)