Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001485/0.001485, allocations: 191.6 kB / 16.25 MB, free: 6.637 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9124/0.9124, allocations: 135.6 MB / 425.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 72.44 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.151, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2773/0.4283, allocations: 60.68 MB / 0.6437 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.4401, allocations: 11.91 MB / 0.6554 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.4423, allocations: 55.12 kB / 0.6554 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.4439, allocations: 0.5791 MB / 0.656 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.4483, allocations: 1.821 MB / 0.6578 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.4508, allocations: 1.094 MB / 0.6588 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003115/0.4539, allocations: 3.105 MB / 0.6619 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.4552, allocations: 1.127 MB / 0.663 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.4583, allocations: 1.333 MB / 0.6643 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.4597, allocations: 0.9436 MB / 0.6652 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.4599, allocations: 122.2 kB / 0.6653 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.4627, allocations: 1.453 MB / 0.6667 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.463, allocations: 301 kB / 0.667 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008124/0.4638, allocations: 0.7039 MB / 0.6677 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.4678, allocations: 2.31 MB / 0.67 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4678, allocations: 1.875 kB / 0.67 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4678, allocations: 0 / 0.67 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.007e-05/0.4679, allocations: 0 / 0.67 GB, free: 1.02 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.003153/0.471, allocations: 1.735 MB / 0.6717 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4711, allocations: 13.06 kB / 0.6717 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002496/0.4736, allocations: 454.4 kB / 0.6721 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.4758, allocations: 1.128 MB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/0.4762, allocations: 127.7 kB / 0.6733 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.4763, allocations: 79.72 kB / 0.6734 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.4785, allocations: 1.012 MB / 0.6744 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4785, allocations: 0 / 0.6744 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.4786, allocations: 31 kB / 0.6744 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.4787, allocations: 22.95 kB / 0.6744 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.4812, allocations: 0.9553 MB / 0.6754 GB, free: 14.2 MB / 0.5137 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.006529/0.4877, allocations: 4.668 MB / 0.6799 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.4916, allocations: 1.001 MB / 0.6809 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.4927, allocations: 419.2 kB / 0.6813 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.4938, allocations: 1.02 MB / 0.6823 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.4938, allocations: 37.75 kB / 0.6823 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.4939, allocations: 4 kB / 0.6823 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.009149/0.503, allocations: 2.229 MB / 0.6845 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.5031, allocations: 57.12 kB / 0.6846 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.5044, allocations: 0.9389 MB / 0.6855 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.5046, allocations: 37.77 kB / 0.6855 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/0.505, allocations: 0.5003 MB / 0.686 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.5053, allocations: 187.3 kB / 0.6862 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.5055, allocations: 134.2 kB / 0.6863 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5057, allocations: 326.2 kB / 0.6866 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.5067, allocations: 360.6 kB / 0.687 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.5079, allocations: 0.5159 MB / 0.6875 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.5099, allocations: 0.7666 MB / 0.6882 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5099, allocations: 1.828 kB / 0.6882 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003027/0.5129, allocations: 1.072 MB / 0.6893 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.513, allocations: 9.406 kB / 0.6893 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.513, allocations: 2.375 kB / 0.6893 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.5143, allocations: 315.9 kB / 0.6896 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.5149, allocations: 132.7 kB / 0.6897 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.5164, allocations: 0.9116 MB / 0.6906 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.5177, allocations: 161.2 kB / 0.6908 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/0.5178, allocations: 32.17 kB / 0.6908 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001372/0.5191, allocations: 0.5627 MB / 0.6913 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001142/0.5203, allocations: 0.5118 MB / 0.6918 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001948/0.5222, allocations: 0.7558 MB / 0.6926 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.5223, allocations: 3.938 kB / 0.6926 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002855/0.5251, allocations: 1.058 MB / 0.6936 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5251, allocations: 5.219 kB / 0.6936 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5252, allocations: 7.094 kB / 0.6936 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.5262, allocations: 314.2 kB / 0.6939 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.5268, allocations: 128.5 kB / 0.6941 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.5282, allocations: 0.91 MB / 0.6949 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.5294, allocations: 150.5 kB / 0.6951 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/0.5295, allocations: 26.23 kB / 0.6951 GB, free: 3.113 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.0002883/0.5298, allocations: 230 kB / 0.6953 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.53, allocations: 106.1 kB / 0.6954 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/0.5343, allocations: 1.318 MB / 0.6967 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.5343, allocations: 7.453 kB / 0.6967 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5343, allocations: 0 / 0.6967 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5343, allocations: 4.125 kB / 0.6967 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/0.54, allocations: 2.417 MB / 0.6991 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.54, allocations: 1.375 kB / 0.6991 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.5406, allocations: 108.4 kB / 0.6992 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009422/0.5415, allocations: 299.5 kB / 0.6995 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.5416, allocations: 20.8 kB / 0.6995 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.5432, allocations: 0.9435 MB / 0.7004 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.5433, allocations: 6.406 kB / 0.7004 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/0.5474, allocations: 1.34 MB / 0.7017 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/0.548, allocations: 274.6 kB / 0.702 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.5481, allocations: 16.69 kB / 0.702 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009179/0.549, allocations: 112.5 kB / 0.7021 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.5491, allocations: 33.45 kB / 0.7022 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/0.5492, allocations: 40.28 kB / 0.7022 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009741/0.5502, allocations: 0.6547 MB / 0.7028 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5502, allocations: 1.5 kB / 0.7028 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001588/0.5518, allocations: 0.5715 MB / 0.7034 GB, free: 14.98 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.0008519/0.5527, allocations: 380.3 kB / 0.7038 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003905/0.5566, allocations: 1.344 MB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5566, allocations: 1.156 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.5578, allocations: 456.6 kB / 0.7055 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.5599, allocations: 499.4 kB / 0.706 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.5637, allocations: 2.324 MB / 0.7083 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.5644, allocations: 1.07 MB / 0.7093 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009889/0.5654, allocations: 225.7 kB / 0.7095 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.5656, allocations: 82.22 kB / 0.7096 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.5656, allocations: 0 / 0.7096 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.0424/0.608, allocations: 24.43 MB / 0.7334 GB, free: 3.281 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)