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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6924/0.6924, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 404.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 99.75 kB / 485.9 MB, free: 7.148 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009907/0.0009907, allocations: 55.92 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1304, allocations: 80.42 MB / 0.6421 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3154/0.4458, allocations: 60.79 MB / 0.7015 GB, free: 26 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.461, allocations: 12.06 MB / 0.7133 GB, free: 25.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.4631, allocations: 55.19 kB / 0.7133 GB, free: 25.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.4646, allocations: 0.5508 MB / 0.7139 GB, free: 25.72 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.4694, allocations: 1.795 MB / 0.7156 GB, free: 25.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.4723, allocations: 1.076 MB / 0.7167 GB, free: 24.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00448/0.4768, allocations: 3.924 MB / 0.7205 GB, free: 23.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.4781, allocations: 0.9341 MB / 0.7214 GB, free: 22.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.4802, allocations: 1.164 MB / 0.7225 GB, free: 22.47 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.4812, allocations: 0.892 MB / 0.7234 GB, free: 22.15 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.4814, allocations: 56.16 kB / 0.7235 GB, free: 22.15 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.484, allocations: 1.34 MB / 0.7248 GB, free: 21.77 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.4842, allocations: 241.4 kB / 0.725 GB, free: 21.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.4847, allocations: 0.636 MB / 0.7256 GB, free: 21.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.4871, allocations: 2.227 MB / 0.7278 GB, free: 20.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4872, allocations: 0 / 0.7278 GB, free: 20.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4872, allocations: 3 kB / 0.7278 GB, free: 20.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4872, allocations: 0 / 0.7278 GB, free: 20.55 MB / 490.7 MB 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.002642/0.4898, allocations: 1.713 MB / 0.7295 GB, free: 19.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.4899, allocations: 10.19 kB / 0.7295 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.492, allocations: 409.7 kB / 0.7299 GB, free: 19.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.4939, allocations: 1.125 MB / 0.731 GB, free: 18.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.4942, allocations: 119.5 kB / 0.7311 GB, free: 18.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.4943, allocations: 83.25 kB / 0.7312 GB, free: 18.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.4963, allocations: 0.9812 MB / 0.7321 GB, free: 17.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4964, allocations: 1.094 kB / 0.7321 GB, free: 17.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.4964, allocations: 31.72 kB / 0.7322 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.4965, allocations: 19 kB / 0.7322 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.4987, allocations: 0.8721 MB / 0.733 GB, free: 17.37 MB / 490.7 MB 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.005072/0.5038, allocations: 4.852 MB / 0.7378 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/0.5071, allocations: 0.7972 MB / 0.7385 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.5078, allocations: 300.1 kB / 0.7388 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003965/0.5082, allocations: 0.9014 MB / 0.7397 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5083, allocations: 50.25 kB / 0.7398 GB, free: 11.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/0.5083, allocations: 0 / 0.7398 GB, free: 11.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.008289/0.5166, allocations: 1.912 MB / 0.7416 GB, free: 10.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.5166, allocations: 56.84 kB / 0.7417 GB, free: 10.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.518, allocations: 1.046 MB / 0.7427 GB, free: 9.789 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.518, allocations: 38.7 kB / 0.7427 GB, free: 9.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.5183, allocations: 0.5212 MB / 0.7433 GB, free: 9.289 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/0.5184, allocations: 158.1 kB / 0.7434 GB, free: 9.152 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.5186, allocations: 129 kB / 0.7435 GB, free: 9.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.5187, allocations: 321.7 kB / 0.7438 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/0.5195, allocations: 311.5 kB / 0.7441 GB, free: 8.605 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/0.5205, allocations: 0.5062 MB / 0.7446 GB, free: 8.191 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.522, allocations: 0.6877 MB / 0.7453 GB, free: 7.742 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.522, allocations: 0 / 0.7453 GB, free: 7.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00249/0.5245, allocations: 0.9842 MB / 0.7463 GB, free: 7.242 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5245, allocations: 5.844 kB / 0.7463 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5245, allocations: 4.531 kB / 0.7463 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.5258, allocations: 315.8 kB / 0.7466 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.5263, allocations: 117.2 kB / 0.7467 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.5276, allocations: 0.9186 MB / 0.7476 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.5289, allocations: 171.5 kB / 0.7477 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/0.529, allocations: 30.38 kB / 0.7478 GB, free: 6.242 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001087/0.5301, allocations: 0.5068 MB / 0.7483 GB, free: 5.938 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009189/0.531, allocations: 0.5028 MB / 0.7488 GB, free: 5.531 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001466/0.5325, allocations: 0.6764 MB / 0.7494 GB, free: 5.086 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/0.5325, allocations: 2.781 kB / 0.7494 GB, free: 5.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002351/0.5348, allocations: 0.9824 MB / 0.7504 GB, free: 4.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.5349, allocations: 4 kB / 0.7504 GB, free: 4.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5349, allocations: 4 kB / 0.7504 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009777/0.5359, allocations: 304.8 kB / 0.7507 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.5363, allocations: 127.8 kB / 0.7508 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.5375, allocations: 0.9014 MB / 0.7517 GB, free: 2.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.5387, allocations: 155.7 kB / 0.7518 GB, free: 2.598 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/0.5388, allocations: 31.98 kB / 0.7519 GB, free: 2.566 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0001528/0.539, allocations: 224 kB / 0.7521 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.5391, allocations: 106.7 kB / 0.7522 GB, free: 2.234 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/0.5427, allocations: 1.098 MB / 0.7532 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.5427, allocations: 11.94 kB / 0.7533 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5427, allocations: 4 kB / 0.7533 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5427, allocations: 3.984 kB / 0.7533 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.5476, allocations: 2.162 MB / 0.7554 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5477, allocations: 0 / 0.7554 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.5479, allocations: 63.89 kB / 0.7554 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.549, allocations: 302 kB / 0.7557 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.549, allocations: 15.98 kB / 0.7557 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.5505, allocations: 0.9467 MB / 0.7567 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5505, allocations: 7.969 kB / 0.7567 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/0.5555, allocations: 2.259 MB / 0.7589 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.556, allocations: 263.5 kB / 0.7591 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.5561, allocations: 11.98 kB / 0.7591 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008796/0.557, allocations: 95.89 kB / 0.7592 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.5571, allocations: 39.83 kB / 0.7593 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.5572, allocations: 23.98 kB / 0.7593 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001148/0.5583, allocations: 0.735 MB / 0.76 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5583, allocations: 4 kB / 0.76 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001722/0.5601, allocations: 0.5769 MB / 0.7606 GB, free: 9.395 MB / 0.4948 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.0007414/0.5608, allocations: 380.2 kB / 0.7609 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003197/0.564, allocations: 1.082 MB / 0.762 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.564, allocations: 8 kB / 0.762 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000933/0.565, allocations: 354.3 kB / 0.7623 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.5677, allocations: 0.4965 MB / 0.7628 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.5733, allocations: 2.726 MB / 0.7655 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.5739, allocations: 1.073 MB / 0.7665 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009462/0.5749, allocations: 224.6 kB / 0.7668 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.5751, allocations: 75.42 kB / 0.7668 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.5751, allocations: 0 / 0.7668 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of Templates: time 0.03694/0.612, allocations: 24.41 MB / 0.7907 GB, free: 10.8 MB / 0.5261 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)