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.0009968/0.0009969, allocations: 108 kB / 15.6 MB, free: 132 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.001045/0.001045, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7694/0.7694, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 64.02 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4152, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06127/0.4765, allocations: 61.2 MB / 0.6398 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01641/0.493, allocations: 11.96 MB / 0.6515 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.4952, allocations: 55.69 kB / 0.6516 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.4971, allocations: 0.6908 MB / 0.6523 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005829/0.503, allocations: 1.959 MB / 0.6542 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.506, allocations: 1.201 MB / 0.6553 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004031/0.51, allocations: 3.079 MB / 0.6584 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.5116, allocations: 1.139 MB / 0.6595 GB, free: 0 / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.5144, allocations: 1.313 MB / 0.6607 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.5157, allocations: 0.9101 MB / 0.6616 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.5159, allocations: 120 kB / 0.6618 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.5185, allocations: 1.447 MB / 0.6632 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.5188, allocations: 298.8 kB / 0.6634 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007357/0.5196, allocations: 0.6997 MB / 0.6641 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003246/0.5228, allocations: 2.298 MB / 0.6664 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5228, allocations: 4 kB / 0.6664 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5228, allocations: 0 / 0.6664 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.5229, allocations: 0 / 0.6664 GB, free: 8.898 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.00308/0.5259, allocations: 1.734 MB / 0.6681 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.526, allocations: 8.031 kB / 0.6681 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.5285, allocations: 458.8 kB / 0.6685 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.5305, allocations: 1.116 MB / 0.6696 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/0.5309, allocations: 117.9 kB / 0.6697 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.5311, allocations: 84 kB / 0.6698 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.5334, allocations: 1.006 MB / 0.6708 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.5334, allocations: 7.938 kB / 0.6708 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.55e-05/0.5335, allocations: 35.98 kB / 0.6708 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.5335, allocations: 16 kB / 0.6708 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.5361, allocations: 0.9524 MB / 0.6718 GB, free: 3.227 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.006382/0.5425, allocations: 4.712 MB / 0.6764 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/0.5465, allocations: 1.008 MB / 0.6774 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.5476, allocations: 413.9 kB / 0.6778 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009067/0.5485, allocations: 1.017 MB / 0.6787 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.5486, allocations: 39 kB / 0.6788 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.196e-06/0.5486, allocations: 0 / 0.6788 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.009534/0.5581, allocations: 2.24 MB / 0.681 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.5582, allocations: 55.84 kB / 0.681 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.5594, allocations: 0.9509 MB / 0.682 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/0.5595, allocations: 41.64 kB / 0.682 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.5599, allocations: 0.5002 MB / 0.6825 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.56, allocations: 193.2 kB / 0.6827 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.5602, allocations: 122.1 kB / 0.6828 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5604, allocations: 330 kB / 0.6831 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.5614, allocations: 358.9 kB / 0.6834 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5626, allocations: 0.5195 MB / 0.6839 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.5647, allocations: 0.7618 MB / 0.6847 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5647, allocations: 0 / 0.6847 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002938/0.5676, allocations: 1.072 MB / 0.6857 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5677, allocations: 4 kB / 0.6857 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5677, allocations: 4.312 kB / 0.6857 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.5689, allocations: 319 kB / 0.686 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.5696, allocations: 131.8 kB / 0.6862 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.571, allocations: 0.9113 MB / 0.6871 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.572, allocations: 127.3 kB / 0.6872 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.5721, allocations: 31.97 kB / 0.6872 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001347/0.5735, allocations: 0.5572 MB / 0.6878 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001151/0.5746, allocations: 0.5194 MB / 0.6883 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00205/0.5767, allocations: 0.7541 MB / 0.689 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.5767, allocations: 0 / 0.689 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002973/0.5797, allocations: 1.06 MB / 0.69 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5797, allocations: 14.03 kB / 0.6901 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5797, allocations: 3.938 kB / 0.6901 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.5808, allocations: 304.6 kB / 0.6903 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.5815, allocations: 135.8 kB / 0.6905 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.5829, allocations: 0.9057 MB / 0.6914 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.5839, allocations: 115.5 kB / 0.6915 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.584, allocations: 31.98 kB / 0.6915 GB, free: 14.07 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.0002405/0.5843, allocations: 216.1 kB / 0.6917 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.5845, allocations: 106.7 kB / 0.6918 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/0.589, allocations: 1.32 MB / 0.6931 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.5891, allocations: 11.98 kB / 0.6931 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5891, allocations: 4 kB / 0.6931 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.5891, allocations: 7.938 kB / 0.6931 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/0.595, allocations: 2.416 MB / 0.6955 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.595, allocations: 0 / 0.6955 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.5956, allocations: 99.84 kB / 0.6956 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.5966, allocations: 304.8 kB / 0.6959 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.5966, allocations: 15.98 kB / 0.6959 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.5981, allocations: 0.9523 MB / 0.6968 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5981, allocations: 7.969 kB / 0.6968 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004282/0.6024, allocations: 1.331 MB / 0.6981 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.6029, allocations: 287.4 kB / 0.6984 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.6031, allocations: 12 kB / 0.6984 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.6039, allocations: 75.91 kB / 0.6985 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.604, allocations: 40.39 kB / 0.6985 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.6041, allocations: 27.97 kB / 0.6985 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008795/0.605, allocations: 0.6635 MB / 0.6992 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.605, allocations: 0 / 0.6992 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001417/0.6064, allocations: 0.5692 MB / 0.6997 GB, free: 5.449 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.0007925/0.6072, allocations: 384.2 kB / 0.7001 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003907/0.6111, allocations: 1.346 MB / 0.7014 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6112, allocations: 0 / 0.7014 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.6124, allocations: 460.8 kB / 0.7019 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.6149, allocations: 0.493 MB / 0.7023 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.6192, allocations: 1.938 MB / 0.7042 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.6198, allocations: 1.066 MB / 0.7053 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001066/0.6209, allocations: 231 kB / 0.7055 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.6211, allocations: 83.41 kB / 0.7056 GB, free: 15.43 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.6211, allocations: 0 / 0.7056 GB, free: 15.43 MB / 0.545 GB Notification: Performance of Templates: time 0.04152/0.6627, allocations: 24.73 MB / 0.7297 GB, free: 7.027 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)