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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008533, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005052/0.005052, allocations: 170 kB / 16.26 MB, free: 6.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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8362/0.8362, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 8 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 82.32 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.2871/0.4288, allocations: 59.7 MB / 0.6464 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.4417, allocations: 11.9 MB / 0.658 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.4439, allocations: 48.56 kB / 0.658 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.4455, allocations: 0.5571 MB / 0.6586 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.4508, allocations: 1.793 MB / 0.6603 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.4536, allocations: 1.082 MB / 0.6614 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004244/0.4579, allocations: 3.898 MB / 0.6652 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.4593, allocations: 0.9074 MB / 0.6661 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.4617, allocations: 1.115 MB / 0.6672 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.463, allocations: 0.8585 MB / 0.668 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.4631, allocations: 41.81 kB / 0.6681 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.4662, allocations: 1.324 MB / 0.6693 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.4665, allocations: 211.1 kB / 0.6695 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000821/0.4673, allocations: 0.6269 MB / 0.6702 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003719/0.471, allocations: 2.195 MB / 0.6723 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4711, allocations: 0.9688 kB / 0.6723 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4711, allocations: 0 / 0.6723 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.4711, allocations: 0 / 0.6723 GB, free: 2.125 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.002966/0.4741, allocations: 1.476 MB / 0.6737 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4741, allocations: 10.12 kB / 0.6738 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.4743, allocations: 123.2 kB / 0.6739 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.4766, allocations: 474.2 kB / 0.6743 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.4789, allocations: 1.133 MB / 0.6754 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003807/0.4793, allocations: 124.2 kB / 0.6755 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.4794, allocations: 90.84 kB / 0.6756 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.4817, allocations: 1 MB / 0.6766 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.4817, allocations: 1.156 kB / 0.6766 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.4818, allocations: 31.91 kB / 0.6766 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.4819, allocations: 19.19 kB / 0.6767 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.4845, allocations: 0.9231 MB / 0.6776 GB, free: 15.38 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.007316/0.4919, allocations: 4.885 MB / 0.6823 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003746/0.4956, allocations: 0.9037 MB / 0.6832 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000814/0.4965, allocations: 337.2 kB / 0.6835 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/0.4972, allocations: 0.9066 MB / 0.6844 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4972, allocations: 37.83 kB / 0.6845 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.4972, allocations: 4 kB / 0.6845 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009467/0.5067, allocations: 2.155 MB / 0.6866 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.5068, allocations: 54.91 kB / 0.6866 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.5086, allocations: 1.051 MB / 0.6876 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-05/0.5087, allocations: 38.64 kB / 0.6877 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.5093, allocations: 0.5227 MB / 0.6882 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.5094, allocations: 157.6 kB / 0.6883 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.5095, allocations: 50.48 kB / 0.6884 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5096, allocations: 326.5 kB / 0.6887 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009395/0.5106, allocations: 322.5 kB / 0.689 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.5117, allocations: 0.5382 MB / 0.6895 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.5135, allocations: 0.7331 MB / 0.6903 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5135, allocations: 5.031 kB / 0.6903 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003017/0.5165, allocations: 1.05 MB / 0.6913 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.5168, allocations: 206.5 kB / 0.6915 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5168, allocations: 9.844 kB / 0.6915 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5182, allocations: 335.2 kB / 0.6918 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.5188, allocations: 127.5 kB / 0.6919 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.5204, allocations: 0.9359 MB / 0.6928 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.5218, allocations: 194.4 kB / 0.693 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.5219, allocations: 27.81 kB / 0.6931 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.5219, allocations: 4.406 kB / 0.6931 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002566/0.5245, allocations: 0.9188 MB / 0.694 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.5245, allocations: 8.844 kB / 0.694 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.5256, allocations: 321.7 kB / 0.6943 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.5262, allocations: 125.7 kB / 0.6944 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.5277, allocations: 0.9348 MB / 0.6953 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.5289, allocations: 177.5 kB / 0.6955 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.529, allocations: 28.28 kB / 0.6955 GB, free: 4.996 MB / 0.5137 GB 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.0006649/0.5297, allocations: 352.9 kB / 0.6958 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.5299, allocations: 115.5 kB / 0.6959 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/0.5339, allocations: 1.204 MB / 0.6971 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.534, allocations: 5.859 kB / 0.6971 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.534, allocations: 4.938 kB / 0.6971 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.534, allocations: 2.297 kB / 0.6971 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005927/0.5399, allocations: 2.27 MB / 0.6994 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.54, allocations: 3.375 kB / 0.6994 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.5402, allocations: 64.75 kB / 0.6994 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.5414, allocations: 332.6 kB / 0.6997 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.5414, allocations: 15.69 kB / 0.6998 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.5431, allocations: 0.9669 MB / 0.7007 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5431, allocations: 3.344 kB / 0.7007 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/0.5472, allocations: 1.266 MB / 0.7019 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006685/0.5479, allocations: 281.8 kB / 0.7022 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.5482, allocations: 9.219 kB / 0.7022 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.5492, allocations: 110.1 kB / 0.7023 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.5494, allocations: 40.03 kB / 0.7024 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.5494, allocations: 19.09 kB / 0.7024 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001722/0.5512, allocations: 0.7458 MB / 0.7031 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5512, allocations: 3.219 kB / 0.7031 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002638/0.5538, allocations: 0.5569 MB / 0.7036 GB, free: 1.102 MB / 0.5137 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.005508/0.5593, allocations: 2.074 MB / 0.7057 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003844/0.5632, allocations: 1.169 MB / 0.7068 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.5632, allocations: 0 / 0.7068 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009699/0.5642, allocations: 369.7 kB / 0.7072 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/0.5679, allocations: 0.5001 MB / 0.7077 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/0.591, allocations: 9.208 MB / 0.7167 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.5919, allocations: 1.061 MB / 0.7177 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001174/0.5931, allocations: 224.2 kB / 0.7179 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005917/0.5937, allocations: 407.3 kB / 0.7183 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of SimCode: time 2.895e-06/0.5937, allocations: 0 / 0.7183 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.222/3.816, allocations: 32.05 MB / 0.7496 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/3.816, allocations: 264.2 kB / 0.7498 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/6.157, allocations: 0 / 0.7498 GB, free: 5.219 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)