Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IDEAS_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.0006513/0.0006512, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007349/0.0007349, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6687/0.6687, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003072, allocations: 8 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4154, allocations: 81.58 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05071/0.4662, allocations: 56.49 MB / 0.6383 GB, free: 7.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.4795, allocations: 11.2 MB / 0.6492 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.4811, allocations: 51.62 kB / 0.6493 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.4824, allocations: 460.9 kB / 0.6497 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.4858, allocations: 1.523 MB / 0.6512 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.4879, allocations: 0.8622 MB / 0.6521 GB, free: 9.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003237/0.4912, allocations: 3.394 MB / 0.6554 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.4922, allocations: 0.7977 MB / 0.6562 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.4939, allocations: 1.038 MB / 0.6572 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009878/0.4949, allocations: 0.7971 MB / 0.658 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.593e-05/0.495, allocations: 44 kB / 0.658 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.4971, allocations: 1.091 MB / 0.6591 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.4973, allocations: 199 kB / 0.6592 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.4975, allocations: 285 kB / 0.6595 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.4991, allocations: 1.629 MB / 0.6611 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4991, allocations: 0 / 0.6611 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4991, allocations: 0 / 0.6611 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.4991, allocations: 0 / 0.6611 GB, free: 0.5078 MB / 494.1 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.002315/0.5014, allocations: 1.497 MB / 0.6626 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5015, allocations: 12.03 kB / 0.6626 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.5016, allocations: 122.6 kB / 0.6627 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.5034, allocations: 473.9 kB / 0.6632 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.5052, allocations: 1.082 MB / 0.6642 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002869/0.5055, allocations: 133.9 kB / 0.6643 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-05/0.5056, allocations: 80 kB / 0.6644 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.5073, allocations: 0.9973 MB / 0.6654 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5073, allocations: 7.938 kB / 0.6654 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.5074, allocations: 32 kB / 0.6654 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.5074, allocations: 23.95 kB / 0.6654 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.5094, allocations: 0.9095 MB / 0.6663 GB, free: 10.98 MB / 0.4981 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.005593/0.515, allocations: 4.898 MB / 0.6711 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.518, allocations: 0.8918 MB / 0.672 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006677/0.5187, allocations: 320.6 kB / 0.6723 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006286/0.5193, allocations: 0.9064 MB / 0.6732 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.5194, allocations: 46.5 kB / 0.6732 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.5194, allocations: 0 / 0.6732 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006927/0.5263, allocations: 2.142 MB / 0.6753 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.5264, allocations: 55.41 kB / 0.6754 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.5276, allocations: 1.051 MB / 0.6764 GB, free: 44 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.5277, allocations: 41.69 kB / 0.6764 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.5281, allocations: 0.5157 MB / 0.6769 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.5282, allocations: 157.8 kB / 0.6771 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.5282, allocations: 8 kB / 0.6771 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.5283, allocations: 326 kB / 0.6774 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/0.529, allocations: 320.9 kB / 0.6777 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.5299, allocations: 0.5298 MB / 0.6782 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007492/0.5307, allocations: 358 kB / 0.6786 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5307, allocations: 4 kB / 0.6786 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00288/0.5336, allocations: 1.22 MB / 0.6798 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.5337, allocations: 217.2 kB / 0.68 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5337, allocations: 4 kB / 0.68 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.5347, allocations: 336.7 kB / 0.6803 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.5352, allocations: 127.8 kB / 0.6804 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.5364, allocations: 0.9417 MB / 0.6813 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.5374, allocations: 191.2 kB / 0.6815 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.5375, allocations: 27.98 kB / 0.6816 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.5375, allocations: 6.188 kB / 0.6816 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002655/0.5401, allocations: 1.078 MB / 0.6826 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5402, allocations: 4 kB / 0.6826 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008663/0.541, allocations: 325.1 kB / 0.6829 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.5415, allocations: 127.8 kB / 0.683 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.5426, allocations: 0.9309 MB / 0.684 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008626/0.5435, allocations: 175.3 kB / 0.6841 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.5436, allocations: 27.98 kB / 0.6841 GB, free: 7.871 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003947/0.544, allocations: 348.9 kB / 0.6845 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.5441, allocations: 110.7 kB / 0.6846 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.5471, allocations: 1.206 MB / 0.6858 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.5472, allocations: 4 kB / 0.6858 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5472, allocations: 0 / 0.6858 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5472, allocations: 3.984 kB / 0.6858 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.5512, allocations: 2.261 MB / 0.688 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5512, allocations: 0 / 0.688 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.5514, allocations: 71.89 kB / 0.688 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00081/0.5522, allocations: 328.8 kB / 0.6884 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.5523, allocations: 16 kB / 0.6884 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.5534, allocations: 0.9659 MB / 0.6893 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5535, allocations: 4.031 kB / 0.6893 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.5562, allocations: 1.249 MB / 0.6905 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.5566, allocations: 283.4 kB / 0.6908 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.5567, allocations: 19.95 kB / 0.6908 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.5574, allocations: 107.8 kB / 0.6909 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.5575, allocations: 43.83 kB / 0.691 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.5575, allocations: 23.98 kB / 0.691 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009037/0.5584, allocations: 0.7389 MB / 0.6917 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5584, allocations: 0 / 0.6917 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001227/0.5597, allocations: 0.5574 MB / 0.6923 GB, free: 15.34 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003501/0.5632, allocations: 2.048 MB / 0.6943 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002507/0.5657, allocations: 1.159 MB / 0.6954 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5657, allocations: 0 / 0.6954 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007241/0.5664, allocations: 376.4 kB / 0.6958 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.5683, allocations: 0.4954 MB / 0.6962 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.5809, allocations: 6.844 MB / 0.7029 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.5814, allocations: 1.065 MB / 0.704 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000819/0.5823, allocations: 224.4 kB / 0.7042 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.5827, allocations: 407.3 kB / 0.7046 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.5827, allocations: 0 / 0.7046 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.128/2.71, allocations: 33.2 MB / 0.737 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/2.711, allocations: 241.5 kB / 0.7372 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.394/6.105, allocations: 0 / 0.7372 GB, free: 1.414 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: