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.00127/0.00127, allocations: 116.3 kB / 16.37 MB, free: 6.004 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.001236/0.001236, allocations: 192.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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8/0.8, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4009, allocations: 80.92 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05181/0.4528, allocations: 61.2 MB / 0.6455 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.4682, allocations: 11.97 MB / 0.6572 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.4702, allocations: 63.62 kB / 0.6573 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.4722, allocations: 0.683 MB / 0.6579 GB, free: 476 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.4779, allocations: 1.963 MB / 0.6599 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.4808, allocations: 1.204 MB / 0.661 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003941/0.4847, allocations: 3.085 MB / 0.664 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.4861, allocations: 1.128 MB / 0.6651 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.4887, allocations: 1.328 MB / 0.6664 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.4898, allocations: 0.9216 MB / 0.6673 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.4899, allocations: 120 kB / 0.6675 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.4924, allocations: 1.443 MB / 0.6689 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.4926, allocations: 298.8 kB / 0.6692 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.4933, allocations: 0.6997 MB / 0.6698 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.496, allocations: 2.325 MB / 0.6721 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.496, allocations: 0 / 0.6721 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.496, allocations: 0 / 0.6721 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.496, allocations: 0 / 0.6721 GB, free: 1.895 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.002685/0.4987, allocations: 1.742 MB / 0.6738 GB, free: 96 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.4987, allocations: 9.109 kB / 0.6738 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.501, allocations: 458.8 kB / 0.6743 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.503, allocations: 1.171 MB / 0.6754 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.5031, allocations: 58 kB / 0.6755 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.5032, allocations: 84 kB / 0.6755 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.5051, allocations: 1.006 MB / 0.6765 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5051, allocations: 0 / 0.6765 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.429e-05/0.5052, allocations: 32 kB / 0.6765 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.5052, allocations: 23.98 kB / 0.6766 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.5075, allocations: 0.9446 MB / 0.6775 GB, free: 12.23 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.005647/0.5131, allocations: 4.676 MB / 0.6821 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.5167, allocations: 0.9866 MB / 0.683 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/0.5177, allocations: 412.3 kB / 0.6834 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008715/0.5185, allocations: 1.017 MB / 0.6844 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5186, allocations: 39 kB / 0.6844 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 1.953e-06/0.5186, allocations: 0 / 0.6844 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.00823/0.5268, allocations: 2.174 MB / 0.6866 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.5269, allocations: 59.84 kB / 0.6866 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.5281, allocations: 0.947 MB / 0.6876 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/0.5282, allocations: 37.7 kB / 0.6876 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.5285, allocations: 0.4963 MB / 0.6881 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.5287, allocations: 189.2 kB / 0.6883 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.5289, allocations: 130.1 kB / 0.6884 GB, free: 424 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.529, allocations: 326 kB / 0.6887 GB, free: 92 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009485/0.5299, allocations: 354.9 kB / 0.689 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.531, allocations: 0.5116 MB / 0.6895 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.5329, allocations: 0.7541 MB / 0.6903 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5329, allocations: 0 / 0.6903 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002639/0.5355, allocations: 1.057 MB / 0.6913 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5355, allocations: 4 kB / 0.6913 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5356, allocations: 4 kB / 0.6913 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.5367, allocations: 312.7 kB / 0.6916 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.5373, allocations: 131.8 kB / 0.6917 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.5386, allocations: 0.8918 MB / 0.6926 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009226/0.5395, allocations: 131.2 kB / 0.6927 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.5396, allocations: 27.98 kB / 0.6927 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001223/0.5408, allocations: 0.5557 MB / 0.6933 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001019/0.5419, allocations: 0.5136 MB / 0.6938 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001777/0.5436, allocations: 0.7424 MB / 0.6945 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.5437, allocations: 0 / 0.6945 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00267/0.5463, allocations: 1.053 MB / 0.6955 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5464, allocations: 14.19 kB / 0.6956 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5464, allocations: 0 / 0.6956 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.5474, allocations: 293.5 kB / 0.6958 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.548, allocations: 139.8 kB / 0.696 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.5492, allocations: 0.8894 MB / 0.6968 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000937/0.5502, allocations: 111.5 kB / 0.6969 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.5502, allocations: 31.98 kB / 0.697 GB, free: 7.32 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.000238/0.5505, allocations: 216.9 kB / 0.6972 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.5507, allocations: 106.7 kB / 0.6973 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/0.5547, allocations: 1.306 MB / 0.6986 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5547, allocations: 12 kB / 0.6986 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5547, allocations: 0 / 0.6986 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.5548, allocations: 7.922 kB / 0.6986 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.56, allocations: 2.405 MB / 0.7009 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5601, allocations: 4 kB / 0.7009 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.5606, allocations: 108 kB / 0.701 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008757/0.5615, allocations: 280.6 kB / 0.7013 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.5615, allocations: 19.98 kB / 0.7013 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.5628, allocations: 0.9191 MB / 0.7022 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5628, allocations: 11.98 kB / 0.7022 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.5666, allocations: 1.323 MB / 0.7035 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/0.5672, allocations: 275.5 kB / 0.7038 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.5673, allocations: 27.78 kB / 0.7038 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/0.5681, allocations: 75.91 kB / 0.7039 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.5682, allocations: 36.39 kB / 0.7039 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.5682, allocations: 23.98 kB / 0.7039 GB, free: 12 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008901/0.5691, allocations: 0.6636 MB / 0.7046 GB, free: 15.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5691, allocations: 0 / 0.7046 GB, free: 15.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001377/0.5705, allocations: 0.5731 MB / 0.7051 GB, free: 14.76 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.0008288/0.5713, allocations: 397.6 kB / 0.7055 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003595/0.575, allocations: 1.295 MB / 0.7068 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.575, allocations: 4 kB / 0.7068 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.5761, allocations: 460.8 kB / 0.7072 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.5783, allocations: 0.4913 MB / 0.7077 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.5821, allocations: 1.878 MB / 0.7096 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.5828, allocations: 1.066 MB / 0.7106 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009045/0.5837, allocations: 234.1 kB / 0.7108 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.584, allocations: 83.41 kB / 0.7109 GB, free: 8.84 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.584, allocations: 0 / 0.7109 GB, free: 8.84 MB / 0.545 GB Notification: Performance of Templates: time 0.03724/0.6212, allocations: 24.71 MB / 0.735 GB, free: 408 kB / 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)