Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001078, allocations: 110.7 kB / 16.37 MB, free: 6.438 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.001118/0.001118, allocations: 197.8 kB / 17.31 MB, free: 5.777 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7798/0.7798, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3399, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05013/0.3901, allocations: 61.17 MB / 0.6455 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.4068, allocations: 11.97 MB / 0.6572 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.4086, allocations: 59.62 kB / 0.6572 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.4103, allocations: 0.6791 MB / 0.6579 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.4147, allocations: 1.963 MB / 0.6598 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.4174, allocations: 1.204 MB / 0.661 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003299/0.4207, allocations: 3.081 MB / 0.664 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.4219, allocations: 1.104 MB / 0.6651 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.4243, allocations: 1.325 MB / 0.6664 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.4254, allocations: 0.9023 MB / 0.6673 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.4255, allocations: 116 kB / 0.6674 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.4279, allocations: 1.435 MB / 0.6688 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.4281, allocations: 286.9 kB / 0.6691 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006324/0.4288, allocations: 0.6958 MB / 0.6697 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.4314, allocations: 2.298 MB / 0.672 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4314, allocations: 0 / 0.672 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4314, allocations: 0 / 0.672 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.4314, allocations: 0 / 0.672 GB, free: 2.047 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002699/0.4341, allocations: 1.726 MB / 0.6737 GB, free: 264 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4342, allocations: 17.11 kB / 0.6737 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.4362, allocations: 402.8 kB / 0.6741 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.4382, allocations: 1.159 MB / 0.6752 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.4383, allocations: 62 kB / 0.6753 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.4384, allocations: 84 kB / 0.6753 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.4402, allocations: 0.9937 MB / 0.6763 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.4402, allocations: 7.938 kB / 0.6763 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.4403, allocations: 32 kB / 0.6763 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.4403, allocations: 20 kB / 0.6764 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.4424, allocations: 0.8586 MB / 0.6772 GB, free: 12.52 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.006218/0.4486, allocations: 5.235 MB / 0.6823 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.4517, allocations: 0.7812 MB / 0.6831 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000653/0.4524, allocations: 303.1 kB / 0.6834 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007201/0.4531, allocations: 0.9102 MB / 0.6843 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.4532, allocations: 42.52 kB / 0.6843 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.4532, allocations: 0 / 0.6843 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007635/0.4608, allocations: 1.848 MB / 0.6861 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.4609, allocations: 55.41 kB / 0.6862 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.4623, allocations: 1.075 MB / 0.6872 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.4624, allocations: 41.7 kB / 0.6872 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.4628, allocations: 0.5273 MB / 0.6878 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.4629, allocations: 149.8 kB / 0.6879 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.4632, allocations: 138.1 kB / 0.688 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4633, allocations: 322 kB / 0.6883 GB, free: 440 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/0.4641, allocations: 315.2 kB / 0.6886 GB, free: 120 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.4652, allocations: 0.5307 MB / 0.6892 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.4668, allocations: 0.7136 MB / 0.6899 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.4668, allocations: 7.938 kB / 0.6899 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002524/0.4694, allocations: 1.016 MB / 0.6909 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4694, allocations: 8 kB / 0.6909 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4694, allocations: 4 kB / 0.6909 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.4706, allocations: 308.7 kB / 0.6912 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.4711, allocations: 131.7 kB / 0.6913 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.4725, allocations: 0.9025 MB / 0.6922 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.4736, allocations: 151.2 kB / 0.6923 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.4737, allocations: 35.98 kB / 0.6923 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001077/0.4747, allocations: 0.5051 MB / 0.6928 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009707/0.4757, allocations: 0.5385 MB / 0.6934 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00148/0.4772, allocations: 0.7024 MB / 0.694 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.4772, allocations: 4 kB / 0.6941 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002453/0.4797, allocations: 1.012 MB / 0.695 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4797, allocations: 8 kB / 0.695 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4797, allocations: 4 kB / 0.6951 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009897/0.4807, allocations: 296.6 kB / 0.6953 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.4813, allocations: 131.8 kB / 0.6955 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.4825, allocations: 0.8918 MB / 0.6963 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4836, allocations: 135.6 kB / 0.6965 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.4837, allocations: 31.98 kB / 0.6965 GB, free: 7.648 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 (57): * Single equations (assignments): 56 * 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.0002261/0.4839, allocations: 229.7 kB / 0.6967 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.4841, allocations: 110.6 kB / 0.6968 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003442/0.4875, allocations: 1.076 MB / 0.6979 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4876, allocations: 15.92 kB / 0.6979 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4876, allocations: 0 / 0.6979 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4876, allocations: 4 kB / 0.6979 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.4921, allocations: 2.142 MB / 0.7 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4921, allocations: 0 / 0.7 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.4924, allocations: 59.89 kB / 0.7 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008975/0.4933, allocations: 304.8 kB / 0.7003 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.4934, allocations: 19.98 kB / 0.7003 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.4947, allocations: 0.9255 MB / 0.7012 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4947, allocations: 3.938 kB / 0.7013 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.4978, allocations: 1.144 MB / 0.7024 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.4982, allocations: 263.5 kB / 0.7026 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.4983, allocations: 12 kB / 0.7026 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/0.4991, allocations: 75.91 kB / 0.7027 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.4992, allocations: 39.77 kB / 0.7027 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.4992, allocations: 27.98 kB / 0.7028 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001052/0.5003, allocations: 0.7473 MB / 0.7035 GB, free: 276 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.5003, allocations: 4 kB / 0.7035 GB, free: 272 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001382/0.5017, allocations: 0.5653 MB / 0.7041 GB, free: 15.7 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 (33): * Single equations (assignments): 28 * 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.0007024/0.5024, allocations: 383.2 kB / 0.7044 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002821/0.5052, allocations: 1.128 MB / 0.7055 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5052, allocations: 0 / 0.7055 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007883/0.506, allocations: 343 kB / 0.7058 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.508, allocations: 0.512 MB / 0.7063 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.513, allocations: 1.989 MB / 0.7083 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.5137, allocations: 1.069 MB / 0.7093 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008185/0.5146, allocations: 228 kB / 0.7096 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.5148, allocations: 87.36 kB / 0.7096 GB, free: 9.922 MB / 0.545 GB Notification: Performance of SimCode: time 6.52e-07/0.5148, allocations: 0 / 0.7096 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Templates: time 0.03813/0.5529, allocations: 24.92 MB / 0.734 GB, free: 1.277 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)