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.0008076/0.0008077, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008877/0.000888, allocations: 172.7 kB / 15.95 MB, free: 208 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.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9109/0.9109, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002879, allocations: 13.7 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 82.31 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3234/0.4669, allocations: 56.45 MB / 0.6426 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.4786, allocations: 11.22 MB / 0.6535 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.4799, allocations: 52.66 kB / 0.6536 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.4809, allocations: 460.7 kB / 0.654 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.4837, allocations: 1.525 MB / 0.6555 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.4856, allocations: 0.8622 MB / 0.6564 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002573/0.4882, allocations: 3.39 MB / 0.6597 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.4893, allocations: 0.7919 MB / 0.6604 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.4911, allocations: 1.042 MB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.4924, allocations: 0.7978 MB / 0.6622 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.4926, allocations: 46.28 kB / 0.6623 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.4946, allocations: 1.094 MB / 0.6634 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.4948, allocations: 200.9 kB / 0.6635 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.4951, allocations: 282.6 kB / 0.6638 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.4969, allocations: 1.626 MB / 0.6654 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.497, allocations: 4.969 kB / 0.6654 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.497, allocations: 0 / 0.6654 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.497, allocations: 0 / 0.6654 GB, free: 6.984 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.002289/0.4993, allocations: 1.494 MB / 0.6669 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4993, allocations: 13.5 kB / 0.6669 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.4995, allocations: 121.6 kB / 0.667 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.5014, allocations: 469.8 kB / 0.6674 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.5032, allocations: 1.09 MB / 0.6685 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.5036, allocations: 132.3 kB / 0.6686 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5037, allocations: 83.62 kB / 0.6687 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.5056, allocations: 0.9982 MB / 0.6697 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.5056, allocations: 1.688 kB / 0.6697 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.5057, allocations: 31.5 kB / 0.6697 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.5057, allocations: 18.56 kB / 0.6697 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.5078, allocations: 0.9143 MB / 0.6706 GB, free: 4.277 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.005416/0.5132, allocations: 4.886 MB / 0.6754 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.5162, allocations: 0.9077 MB / 0.6763 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007366/0.517, allocations: 320.3 kB / 0.6766 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.5177, allocations: 0.9007 MB / 0.6775 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.5178, allocations: 41.94 kB / 0.6775 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.905e-06/0.5178, allocations: 0 / 0.6775 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008505/0.5263, allocations: 2.145 MB / 0.6796 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5264, allocations: 56.33 kB / 0.6797 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.5285, allocations: 1.048 MB / 0.6807 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.5287, allocations: 36.95 kB / 0.6807 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.5292, allocations: 0.5231 MB / 0.6812 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.5294, allocations: 149.8 kB / 0.6814 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.5294, allocations: 13.25 kB / 0.6814 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5295, allocations: 329.5 kB / 0.6817 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008633/0.5304, allocations: 319.9 kB / 0.682 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.5315, allocations: 0.534 MB / 0.6825 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/0.5324, allocations: 356.9 kB / 0.6829 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5324, allocations: 1.031 kB / 0.6829 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003599/0.536, allocations: 1.227 MB / 0.6841 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.5362, allocations: 210 kB / 0.6843 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.5362, allocations: 5.656 kB / 0.6843 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.5374, allocations: 332.8 kB / 0.6846 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.5379, allocations: 123.1 kB / 0.6847 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.5394, allocations: 0.9409 MB / 0.6856 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.5409, allocations: 193.7 kB / 0.6858 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.541, allocations: 29.14 kB / 0.6858 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.541, allocations: 6.5 kB / 0.6858 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003169/0.5442, allocations: 1.065 MB / 0.6869 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5442, allocations: 9.984 kB / 0.6869 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.5453, allocations: 331 kB / 0.6872 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.5458, allocations: 122.5 kB / 0.6873 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.5472, allocations: 0.9375 MB / 0.6882 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.5485, allocations: 171.2 kB / 0.6884 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.5486, allocations: 29.42 kB / 0.6884 GB, free: 10.12 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.0006254/0.5493, allocations: 353.1 kB / 0.6888 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.5496, allocations: 107.2 kB / 0.6889 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/0.5534, allocations: 1.204 MB / 0.69 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.5534, allocations: 6.859 kB / 0.6901 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.5534, allocations: 1.531 kB / 0.6901 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.5534, allocations: 1.781 kB / 0.6901 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/0.559, allocations: 2.25 MB / 0.6923 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.559, allocations: 2.031 kB / 0.6923 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.5593, allocations: 70.52 kB / 0.6923 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.5603, allocations: 330.6 kB / 0.6926 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.5604, allocations: 21.38 kB / 0.6927 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.5618, allocations: 0.9601 MB / 0.6936 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5618, allocations: 4.531 kB / 0.6936 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.5653, allocations: 1.266 MB / 0.6948 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008204/0.5662, allocations: 281 kB / 0.6951 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.5665, allocations: 13.62 kB / 0.6951 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5676, allocations: 115 kB / 0.6952 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.5677, allocations: 40.3 kB / 0.6953 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.5678, allocations: 22.86 kB / 0.6953 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001567/0.5694, allocations: 0.7343 MB / 0.696 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5694, allocations: 0 / 0.696 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002532/0.5719, allocations: 0.5578 MB / 0.6966 GB, free: 6.398 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 (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.00488/0.5768, allocations: 2.054 MB / 0.6986 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003365/0.5802, allocations: 1.168 MB / 0.6997 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5802, allocations: 0 / 0.6997 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008484/0.5811, allocations: 368 kB / 0.7001 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.584, allocations: 0.489 MB / 0.7005 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.601, allocations: 6.848 MB / 0.7072 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007016/0.6017, allocations: 1.068 MB / 0.7083 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001098/0.6028, allocations: 213 kB / 0.7085 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.6034, allocations: 416.2 kB / 0.7089 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.6034, allocations: 0 / 0.7089 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2633/0.8667, allocations: 33.21 MB / 0.7413 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/0.867, allocations: 238.6 kB / 0.7415 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.667/4.534, allocations: 0 / 0.7415 GB, free: 13.83 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/linux/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) Environment - environmentSimulation: