Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001396/0.001396, allocations: 116.7 kB / 16.37 MB, free: 6 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.001504/0.001504, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7697/0.7697, allocations: 132.2 MB / 423.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3591, allocations: 80.19 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05011/0.4092, allocations: 61.2 MB / 0.6413 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.4252, allocations: 11.97 MB / 0.6529 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.4272, allocations: 59.69 kB / 0.653 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.4291, allocations: 0.6869 MB / 0.6537 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005364/0.4346, allocations: 1.962 MB / 0.6556 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.4376, allocations: 1.203 MB / 0.6568 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004196/0.4418, allocations: 3.095 MB / 0.6598 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.4436, allocations: 1.128 MB / 0.6609 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.4471, allocations: 1.324 MB / 0.6622 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.4487, allocations: 0.9271 MB / 0.6631 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.4489, allocations: 120 kB / 0.6632 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.4519, allocations: 1.439 MB / 0.6646 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.4522, allocations: 294.8 kB / 0.6649 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007159/0.4529, allocations: 0.6998 MB / 0.6656 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003439/0.4563, allocations: 2.333 MB / 0.6678 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4564, allocations: 0 / 0.6678 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4564, allocations: 0 / 0.6678 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.4564, allocations: 4 kB / 0.6679 GB, free: 5.508 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.002945/0.4593, allocations: 1.736 MB / 0.6695 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4594, allocations: 12.02 kB / 0.6696 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.4617, allocations: 450.8 kB / 0.67 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.4638, allocations: 1.178 MB / 0.6711 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/0.4639, allocations: 66 kB / 0.6712 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.464, allocations: 84 kB / 0.6713 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.466, allocations: 1.002 MB / 0.6723 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.466, allocations: 0 / 0.6723 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.4661, allocations: 35.94 kB / 0.6723 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.4661, allocations: 16 kB / 0.6723 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.4685, allocations: 0.9446 MB / 0.6732 GB, free: 15.85 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.005936/0.4745, allocations: 4.669 MB / 0.6778 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.4781, allocations: 0.9886 MB / 0.6788 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009552/0.4791, allocations: 411 kB / 0.6792 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009322/0.48, allocations: 1.017 MB / 0.6801 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.4801, allocations: 39 kB / 0.6802 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 1.853e-06/0.4801, allocations: 0 / 0.6802 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008618/0.4887, allocations: 2.177 MB / 0.6823 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4888, allocations: 55.84 kB / 0.6824 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.4901, allocations: 0.947 MB / 0.6833 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.4901, allocations: 37.7 kB / 0.6833 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.4905, allocations: 0.4924 MB / 0.6838 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.4907, allocations: 189.2 kB / 0.684 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.491, allocations: 138.1 kB / 0.6841 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4911, allocations: 322 kB / 0.6844 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009546/0.492, allocations: 358.8 kB / 0.6848 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.4931, allocations: 0.5077 MB / 0.6853 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.495, allocations: 0.758 MB / 0.686 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.495, allocations: 0 / 0.686 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002692/0.4977, allocations: 1.06 MB / 0.687 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4978, allocations: 4 kB / 0.687 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4978, allocations: 8 kB / 0.687 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.499, allocations: 296.9 kB / 0.6873 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.4996, allocations: 135.8 kB / 0.6875 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.5009, allocations: 0.8918 MB / 0.6883 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/0.5019, allocations: 131.3 kB / 0.6885 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.502, allocations: 31.98 kB / 0.6885 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001246/0.5032, allocations: 0.5439 MB / 0.689 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001049/0.5043, allocations: 0.5078 MB / 0.6895 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001803/0.5061, allocations: 0.7501 MB / 0.6902 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.5061, allocations: 4 kB / 0.6903 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002622/0.5088, allocations: 1.045 MB / 0.6913 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5088, allocations: 8 kB / 0.6913 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.5088, allocations: 3.984 kB / 0.6913 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009821/0.5098, allocations: 298 kB / 0.6916 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.5104, allocations: 131.8 kB / 0.6917 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.5116, allocations: 0.8935 MB / 0.6926 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009343/0.5126, allocations: 107.5 kB / 0.6927 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.5127, allocations: 31.98 kB / 0.6927 GB, free: 10.96 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.0002315/0.5129, allocations: 228 kB / 0.6929 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.5131, allocations: 106.7 kB / 0.693 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/0.5172, allocations: 1.305 MB / 0.6943 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.5172, allocations: 8 kB / 0.6943 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.5172, allocations: 0 / 0.6943 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.5173, allocations: 7.922 kB / 0.6943 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.5226, allocations: 2.401 MB / 0.6967 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.5227, allocations: 7.984 kB / 0.6967 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.5232, allocations: 99.86 kB / 0.6968 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009008/0.5241, allocations: 299.3 kB / 0.697 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.5241, allocations: 15.98 kB / 0.6971 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.5254, allocations: 0.9308 MB / 0.698 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.5254, allocations: 3.938 kB / 0.698 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003794/0.5292, allocations: 1.32 MB / 0.6993 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.5297, allocations: 283.4 kB / 0.6995 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.5299, allocations: 15.94 kB / 0.6995 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/0.5307, allocations: 75.91 kB / 0.6996 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.5308, allocations: 36.33 kB / 0.6996 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.5308, allocations: 23.98 kB / 0.6997 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008673/0.5317, allocations: 0.6674 MB / 0.7003 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5317, allocations: 4 kB / 0.7003 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001412/0.5331, allocations: 0.5692 MB / 0.7009 GB, free: 2.391 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.000847/0.534, allocations: 394.2 kB / 0.7013 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003467/0.5375, allocations: 1.295 MB / 0.7025 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5375, allocations: 0 / 0.7025 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.5386, allocations: 460.8 kB / 0.703 GB, free: 284 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.5408, allocations: 0.4944 MB / 0.7034 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.5445, allocations: 1.886 MB / 0.7053 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.5451, allocations: 1.07 MB / 0.7063 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008648/0.546, allocations: 234.5 kB / 0.7066 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.5462, allocations: 75.41 kB / 0.7066 GB, free: 12.46 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.5462, allocations: 0 / 0.7066 GB, free: 12.46 MB / 0.545 GB Notification: Performance of Templates: time 0.03774/0.584, allocations: 24.71 MB / 0.7308 GB, free: 4.059 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)