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.001169/0.00117, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009216/0.009217, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.47/1.47, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7663/0.7663, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 8 kB / 0.504 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4719, allocations: 81.57 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07475/0.5467, allocations: 59.73 MB / 0.642 GB, free: 4.586 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02179/0.5686, allocations: 11.92 MB / 0.6536 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.5714, allocations: 55.62 kB / 0.6537 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.5738, allocations: 0.5399 MB / 0.6542 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.5803, allocations: 1.796 MB / 0.656 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.5839, allocations: 1.079 MB / 0.657 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006035/0.5899, allocations: 3.913 MB / 0.6608 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.5921, allocations: 0.9187 MB / 0.6617 GB, free: 292 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.5953, allocations: 1.12 MB / 0.6628 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.5975, allocations: 0.867 MB / 0.6637 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.5978, allocations: 44 kB / 0.6637 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003547/0.6014, allocations: 1.349 MB / 0.665 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.6018, allocations: 210.9 kB / 0.6652 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.6033, allocations: 0.6349 MB / 0.6659 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005024/0.6084, allocations: 2.212 MB / 0.668 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6084, allocations: 0 / 0.668 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6084, allocations: 0 / 0.668 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.585e-05/0.6085, allocations: 0 / 0.668 GB, free: 9.824 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.003972/0.6125, allocations: 1.509 MB / 0.6695 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6125, allocations: 8.031 kB / 0.6695 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.6154, allocations: 0.5144 MB / 0.67 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.6184, allocations: 1.14 MB / 0.6711 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003979/0.6188, allocations: 129.9 kB / 0.6712 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.619, allocations: 80 kB / 0.6713 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.6215, allocations: 1.033 MB / 0.6723 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.6216, allocations: 0 / 0.6723 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.854e-05/0.6217, allocations: 36 kB / 0.6724 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.6217, allocations: 20 kB / 0.6724 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/0.6246, allocations: 1.003 MB / 0.6734 GB, free: 4.207 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.007733/0.6324, allocations: 4.711 MB / 0.678 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004445/0.6368, allocations: 1.125 MB / 0.679 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.638, allocations: 441.9 kB / 0.6795 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.6391, allocations: 1.037 MB / 0.6805 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.6392, allocations: 35 kB / 0.6805 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.855e-06/0.6392, allocations: 0 / 0.6805 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.00857/0.6478, allocations: 2.158 MB / 0.6826 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.6478, allocations: 55.84 kB / 0.6827 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.6495, allocations: 0.9435 MB / 0.6836 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-05/0.6496, allocations: 37.7 kB / 0.6836 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004865/0.6501, allocations: 0.5079 MB / 0.6841 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.6504, allocations: 185.3 kB / 0.6843 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.6505, allocations: 49.7 kB / 0.6844 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6506, allocations: 330 kB / 0.6847 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.6518, allocations: 376.9 kB / 0.685 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.6531, allocations: 0.5438 MB / 0.6856 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.6553, allocations: 0.8244 MB / 0.6864 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.6554, allocations: 0 / 0.6864 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003283/0.6586, allocations: 1.139 MB / 0.6875 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.6588, allocations: 158.6 kB / 0.6876 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6588, allocations: 4 kB / 0.6876 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.6602, allocations: 339.3 kB / 0.688 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/0.6609, allocations: 147.8 kB / 0.6881 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.6625, allocations: 0.9386 MB / 0.689 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.6639, allocations: 184.1 kB / 0.6892 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/0.664, allocations: 27.98 kB / 0.6892 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.664, allocations: 4 kB / 0.6892 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00289/0.6669, allocations: 1.001 MB / 0.6902 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.6669, allocations: 4 kB / 0.6902 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.6681, allocations: 316.9 kB / 0.6905 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.6688, allocations: 147.8 kB / 0.6906 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.6703, allocations: 0.9302 MB / 0.6916 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.6716, allocations: 171.3 kB / 0.6917 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.6717, allocations: 31.98 kB / 0.6917 GB, free: 0.5039 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 (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.0006169/0.6723, allocations: 349 kB / 0.6921 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.6726, allocations: 106.7 kB / 0.6922 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.6762, allocations: 1.228 MB / 0.6934 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.6762, allocations: 11.97 kB / 0.6934 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.6762, allocations: 0 / 0.6934 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.6762, allocations: 0 / 0.6934 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00524/0.6815, allocations: 2.323 MB / 0.6957 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.6815, allocations: 4.188 kB / 0.6957 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.6821, allocations: 115.8 kB / 0.6958 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.6833, allocations: 312.6 kB / 0.6961 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.6834, allocations: 19.98 kB / 0.6961 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.6851, allocations: 0.9737 MB / 0.697 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6851, allocations: 0 / 0.697 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004194/0.6893, allocations: 1.405 MB / 0.6984 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/0.69, allocations: 283.5 kB / 0.6987 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.6903, allocations: 15.98 kB / 0.6987 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.6914, allocations: 131.7 kB / 0.6988 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.6915, allocations: 40.31 kB / 0.6989 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/0.6916, allocations: 23.98 kB / 0.6989 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001164/0.6928, allocations: 0.6637 MB / 0.6995 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6928, allocations: 0 / 0.6995 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00195/0.6947, allocations: 0.573 MB / 0.7001 GB, free: 7.762 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.0009632/0.6957, allocations: 386 kB / 0.7005 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004258/0.7, allocations: 1.393 MB / 0.7018 GB, free: 6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.7, allocations: 0 / 0.7018 GB, free: 6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.7014, allocations: 496.8 kB / 0.7023 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/0.7052, allocations: 498 kB / 0.7028 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/0.7105, allocations: 2.383 MB / 0.7051 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008702/0.7114, allocations: 1.063 MB / 0.7061 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001303/0.7127, allocations: 243.5 kB / 0.7064 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.713, allocations: 75.41 kB / 0.7064 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/0.7131, allocations: 4 kB / 0.7064 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of Templates: time 0.04521/0.7583, allocations: 23.57 MB / 0.7295 GB, free: 9.965 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)