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.001494/0.001494, allocations: 107.8 kB / 16.27 MB, free: 5.984 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.001426/0.001427, allocations: 189 kB / 17.2 MB, free: 5.609 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.807/0.807, allocations: 135.2 MB / 426.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.91 kB / 0.506 GB, free: 8.309 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3555, allocations: 80.92 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05278/0.4083, allocations: 61.19 MB / 0.6448 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01918/0.4275, allocations: 11.98 MB / 0.6565 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.4296, allocations: 55.69 kB / 0.6566 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.4314, allocations: 0.6791 MB / 0.6572 GB, free: 496 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.4366, allocations: 1.963 MB / 0.6591 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.4396, allocations: 1.192 MB / 0.6603 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004314/0.444, allocations: 3.085 MB / 0.6633 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.4459, allocations: 1.135 MB / 0.6644 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.4492, allocations: 1.318 MB / 0.6657 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.451, allocations: 0.914 MB / 0.6666 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00039/0.4514, allocations: 123.9 kB / 0.6667 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.4547, allocations: 1.439 MB / 0.6681 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005543/0.4552, allocations: 298.8 kB / 0.6684 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.4566, allocations: 0.6998 MB / 0.6691 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004388/0.461, allocations: 2.298 MB / 0.6713 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.461, allocations: 0 / 0.6713 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.461, allocations: 4 kB / 0.6714 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.132e-05/0.4611, allocations: 0 / 0.6714 GB, free: 1.953 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.004176/0.4653, allocations: 1.738 MB / 0.673 GB, free: 160 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4653, allocations: 13.11 kB / 0.6731 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.468, allocations: 458.8 kB / 0.6735 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.4705, allocations: 1.116 MB / 0.6746 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.4709, allocations: 117.9 kB / 0.6747 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.4711, allocations: 84 kB / 0.6748 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.4733, allocations: 0.9978 MB / 0.6758 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4734, allocations: 3.938 kB / 0.6758 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.4735, allocations: 36 kB / 0.6758 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.4735, allocations: 24 kB / 0.6758 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.4761, allocations: 0.9485 MB / 0.6767 GB, free: 12.29 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.006515/0.4826, allocations: 4.723 MB / 0.6814 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.4867, allocations: 0.997 MB / 0.6823 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4878, allocations: 420.1 kB / 0.6827 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.4889, allocations: 1.013 MB / 0.6837 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.489, allocations: 43 kB / 0.6838 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.196e-06/0.489, allocations: 3.938 kB / 0.6838 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.009788/0.4988, allocations: 2.228 MB / 0.6859 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.4988, allocations: 55.84 kB / 0.686 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.5003, allocations: 0.9547 MB / 0.6869 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.717e-05/0.5004, allocations: 37.7 kB / 0.687 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.5009, allocations: 0.5002 MB / 0.6874 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.5011, allocations: 185.2 kB / 0.6876 GB, free: 484 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.5013, allocations: 130.1 kB / 0.6877 GB, free: 348 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5015, allocations: 326 kB / 0.6881 GB, free: 16 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.5026, allocations: 358.9 kB / 0.6884 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.5039, allocations: 0.5155 MB / 0.6889 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.506, allocations: 0.7657 MB / 0.6897 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.5061, allocations: 4 kB / 0.6897 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003133/0.5092, allocations: 1.072 MB / 0.6907 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5092, allocations: 4 kB / 0.6907 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5093, allocations: 7.984 kB / 0.6907 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.5106, allocations: 308.8 kB / 0.691 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.5112, allocations: 135.8 kB / 0.6911 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.5128, allocations: 0.9139 MB / 0.692 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.5139, allocations: 126.2 kB / 0.6922 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.514, allocations: 31.97 kB / 0.6922 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001429/0.5154, allocations: 0.5596 MB / 0.6927 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/0.5166, allocations: 0.5155 MB / 0.6932 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002044/0.5187, allocations: 0.7502 MB / 0.694 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.374e-06/0.5187, allocations: 4 kB / 0.694 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003035/0.5217, allocations: 1.064 MB / 0.695 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5218, allocations: 4 kB / 0.695 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5218, allocations: 7.938 kB / 0.695 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.5229, allocations: 308.9 kB / 0.6953 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.5235, allocations: 131.8 kB / 0.6954 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.525, allocations: 0.9035 MB / 0.6963 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.5261, allocations: 119.6 kB / 0.6964 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.747e-05/0.5261, allocations: 31.97 kB / 0.6965 GB, free: 7.129 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.0002852/0.5264, allocations: 225.4 kB / 0.6967 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.5266, allocations: 102.7 kB / 0.6968 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004608/0.5312, allocations: 1.326 MB / 0.6981 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.5313, allocations: 7.984 kB / 0.6981 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5313, allocations: 4 kB / 0.6981 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.5313, allocations: 3.938 kB / 0.6981 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005938/0.5372, allocations: 2.417 MB / 0.7005 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.5372, allocations: 4 kB / 0.7005 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.5378, allocations: 99.84 kB / 0.7006 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.5388, allocations: 296.6 kB / 0.7008 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.5389, allocations: 23.98 kB / 0.7009 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.5404, allocations: 0.9449 MB / 0.7018 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5404, allocations: 0 / 0.7018 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004251/0.5447, allocations: 1.339 MB / 0.7031 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.5452, allocations: 283.4 kB / 0.7034 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5453, allocations: 12 kB / 0.7034 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008107/0.5461, allocations: 79.91 kB / 0.7034 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.5462, allocations: 36.39 kB / 0.7035 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/0.5463, allocations: 27.97 kB / 0.7035 GB, free: 15.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000972/0.5473, allocations: 0.6674 MB / 0.7042 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.22e-07/0.5473, allocations: 0 / 0.7042 GB, free: 15.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001504/0.5488, allocations: 0.5653 MB / 0.7047 GB, free: 14.51 MB / 0.545 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.0008358/0.5496, allocations: 394.9 kB / 0.7051 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004014/0.5537, allocations: 1.342 MB / 0.7064 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5537, allocations: 0 / 0.7064 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.555, allocations: 464.8 kB / 0.7068 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.5572, allocations: 496.4 kB / 0.7073 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.5612, allocations: 1.971 MB / 0.7092 GB, free: 9.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.5619, allocations: 1.062 MB / 0.7103 GB, free: 8.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.5622, allocations: 91.39 kB / 0.7104 GB, free: 8.664 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.5622, allocations: 0 / 0.7104 GB, free: 8.664 MB / 0.545 GB Notification: Performance of Templates: time 0.03415/0.5964, allocations: 24.02 MB / 0.7338 GB, free: 0.8086 MB / 0.5606 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)