Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 103 kB / 16.36 MB, free: 6.336 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.001311/0.001311, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.261/1.261, 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-master/package.mo): time 0.7691/0.7691, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.89 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3196, allocations: 80.9 MB / 0.5857 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04735/0.3669, allocations: 61.24 MB / 0.6456 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01622/0.3832, allocations: 11.99 MB / 0.6573 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.3851, allocations: 59.62 kB / 0.6573 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.3873, allocations: 0.6908 MB / 0.658 GB, free: 416 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.3923, allocations: 1.963 MB / 0.6599 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.395, allocations: 1.202 MB / 0.6611 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003456/0.3984, allocations: 3.101 MB / 0.6641 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.3998, allocations: 1.12 MB / 0.6652 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.4022, allocations: 1.337 MB / 0.6665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.4032, allocations: 0.9115 MB / 0.6674 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.4034, allocations: 116 kB / 0.6675 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.4058, allocations: 1.435 MB / 0.6689 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.406, allocations: 294.8 kB / 0.6692 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000615/0.4066, allocations: 0.6958 MB / 0.6699 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.4091, allocations: 2.317 MB / 0.6721 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4091, allocations: 7.984 kB / 0.6721 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4091, allocations: 0 / 0.6721 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.4092, allocations: 0 / 0.6721 GB, free: 1.848 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.00263/0.4118, allocations: 1.754 MB / 0.6739 GB, free: 36 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.4118, allocations: 9.109 kB / 0.6739 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.4138, allocations: 403 kB / 0.6743 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.4158, allocations: 1.167 MB / 0.6754 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.4158, allocations: 69.94 kB / 0.6755 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4159, allocations: 76 kB / 0.6755 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.4178, allocations: 1.021 MB / 0.6765 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4178, allocations: 7.938 kB / 0.6765 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/0.4179, allocations: 32 kB / 0.6766 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.4179, allocations: 16 kB / 0.6766 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.42, allocations: 0.8937 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.005825/0.4259, allocations: 5.255 MB / 0.6826 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.429, allocations: 0.7827 MB / 0.6834 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/0.4297, allocations: 323 kB / 0.6837 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.4302, allocations: 0.9025 MB / 0.6845 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.4303, allocations: 34.56 kB / 0.6846 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 1.934e-06/0.4303, allocations: 0 / 0.6846 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.007638/0.4379, allocations: 1.899 MB / 0.6864 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.438, allocations: 59.36 kB / 0.6865 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.4394, allocations: 1.08 MB / 0.6875 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.4394, allocations: 37.7 kB / 0.6876 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.4398, allocations: 0.5467 MB / 0.6881 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.44, allocations: 149.8 kB / 0.6883 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.4402, allocations: 142.1 kB / 0.6884 GB, free: 372 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4403, allocations: 330 kB / 0.6887 GB, free: 36 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000887/0.4412, allocations: 323.2 kB / 0.689 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.4423, allocations: 0.5502 MB / 0.6895 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.4439, allocations: 0.7465 MB / 0.6903 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4439, allocations: 0 / 0.6903 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00342/0.4473, allocations: 1.168 MB / 0.6914 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4474, allocations: 8 kB / 0.6914 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.4474, allocations: 7.938 kB / 0.6914 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.4485, allocations: 296.7 kB / 0.6917 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.4491, allocations: 143.8 kB / 0.6919 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.4504, allocations: 0.8996 MB / 0.6927 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.4516, allocations: 151.4 kB / 0.6929 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.4517, allocations: 35.97 kB / 0.6929 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001145/0.4528, allocations: 0.5285 MB / 0.6934 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001005/0.4538, allocations: 0.5502 MB / 0.694 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001592/0.4554, allocations: 0.7338 MB / 0.6947 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.4554, allocations: 4 kB / 0.6947 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003345/0.4588, allocations: 1.153 MB / 0.6958 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4588, allocations: 8 kB / 0.6958 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4588, allocations: 8 kB / 0.6958 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009709/0.4598, allocations: 311.4 kB / 0.6961 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.4604, allocations: 131.8 kB / 0.6962 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.4617, allocations: 0.8918 MB / 0.6971 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.4628, allocations: 139.5 kB / 0.6973 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.4629, allocations: 35.98 kB / 0.6973 GB, free: 6.805 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0001971/0.4631, allocations: 224.8 kB / 0.6975 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.4633, allocations: 110.7 kB / 0.6976 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.4668, allocations: 1.118 MB / 0.6987 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4668, allocations: 7.938 kB / 0.6987 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4668, allocations: 0 / 0.6987 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4668, allocations: 7.922 kB / 0.6987 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004763/0.4716, allocations: 2.203 MB / 0.7009 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.088e-06/0.4716, allocations: 4.219 kB / 0.7009 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.4719, allocations: 75.89 kB / 0.7009 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008669/0.4728, allocations: 292.6 kB / 0.7012 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.4728, allocations: 11.98 kB / 0.7012 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.4741, allocations: 0.9333 MB / 0.7021 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4742, allocations: 7.938 kB / 0.7021 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.4775, allocations: 1.197 MB / 0.7033 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/0.4779, allocations: 267.5 kB / 0.7036 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.4781, allocations: 8 kB / 0.7036 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008009/0.4789, allocations: 79.89 kB / 0.7037 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.479, allocations: 39.89 kB / 0.7037 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.4791, allocations: 27.98 kB / 0.7037 GB, free: 20 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001124/0.4802, allocations: 0.7553 MB / 0.7045 GB, free: 15.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4802, allocations: 0 / 0.7045 GB, free: 15.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001461/0.4817, allocations: 0.5692 MB / 0.705 GB, free: 14.69 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007378/0.4824, allocations: 393.6 kB / 0.7054 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00309/0.4855, allocations: 1.175 MB / 0.7065 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4855, allocations: 0 / 0.7065 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.4864, allocations: 362.6 kB / 0.7069 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.4884, allocations: 0.5023 MB / 0.7074 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.4931, allocations: 2.021 MB / 0.7093 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.4938, allocations: 1.073 MB / 0.7104 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007629/0.4946, allocations: 232.5 kB / 0.7106 GB, free: 8.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.4947, allocations: 75.42 kB / 0.7107 GB, free: 8.824 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.4947, allocations: 0 / 0.7107 GB, free: 8.824 MB / 0.545 GB Notification: Performance of Templates: time 0.03783/0.5326, allocations: 25.21 MB / 0.7353 GB, free: 15.88 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)