Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.0009121/0.0009121, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007328/0.007328, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7533/0.7533, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 12 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4625, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06032/0.5229, allocations: 59.75 MB / 0.6421 GB, free: 4.535 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.5412, allocations: 11.89 MB / 0.6537 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.544, allocations: 59.62 kB / 0.6538 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.5461, allocations: 0.5516 MB / 0.6543 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.5517, allocations: 1.804 MB / 0.6561 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.5546, allocations: 1.076 MB / 0.6571 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005032/0.5597, allocations: 3.909 MB / 0.6609 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.5614, allocations: 0.9304 MB / 0.6618 GB, free: 252 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.5641, allocations: 1.12 MB / 0.6629 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.5659, allocations: 0.8632 MB / 0.6638 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.5661, allocations: 44 kB / 0.6638 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.5693, allocations: 1.329 MB / 0.6651 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.5696, allocations: 210.9 kB / 0.6653 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009332/0.5706, allocations: 0.635 MB / 0.6659 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.5738, allocations: 2.208 MB / 0.6681 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5738, allocations: 0 / 0.6681 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5738, allocations: 0 / 0.6681 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.5738, allocations: 0 / 0.6681 GB, free: 9.812 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002753/0.5766, allocations: 1.508 MB / 0.6696 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5766, allocations: 8.031 kB / 0.6696 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.5768, allocations: 122.9 kB / 0.6697 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.5793, allocations: 0.522 MB / 0.6702 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.5816, allocations: 1.12 MB / 0.6713 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/0.582, allocations: 129.9 kB / 0.6714 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.5821, allocations: 80 kB / 0.6715 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.5844, allocations: 1.037 MB / 0.6725 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.5844, allocations: 8 kB / 0.6725 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.5845, allocations: 28 kB / 0.6725 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.5845, allocations: 20 kB / 0.6726 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.5872, allocations: 1.015 MB / 0.6735 GB, free: 4.062 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.006482/0.5937, allocations: 4.716 MB / 0.6782 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004326/0.5981, allocations: 1.125 MB / 0.6792 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.5992, allocations: 449.9 kB / 0.6797 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.6003, allocations: 1.029 MB / 0.6807 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.6003, allocations: 39 kB / 0.6807 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.066e-06/0.6003, allocations: 0 / 0.6807 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.01029/0.6106, allocations: 2.502 MB / 0.6832 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.6107, allocations: 55.84 kB / 0.6832 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.6121, allocations: 0.9392 MB / 0.6841 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.6122, allocations: 41.69 kB / 0.6842 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/0.6126, allocations: 0.4963 MB / 0.6847 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.6128, allocations: 189.2 kB / 0.6848 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.6129, allocations: 53.69 kB / 0.6849 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.613, allocations: 326 kB / 0.6852 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.6141, allocations: 380.9 kB / 0.6856 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.6153, allocations: 0.5546 MB / 0.6861 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.6174, allocations: 0.8244 MB / 0.6869 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.6174, allocations: 3.938 kB / 0.6869 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003052/0.6205, allocations: 1.135 MB / 0.688 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.6206, allocations: 164.4 kB / 0.6882 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6206, allocations: 4 kB / 0.6882 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.6219, allocations: 328.6 kB / 0.6885 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.6226, allocations: 143.8 kB / 0.6886 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.6241, allocations: 0.946 MB / 0.6896 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.6253, allocations: 171.3 kB / 0.6897 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/0.6254, allocations: 31.98 kB / 0.6898 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.6254, allocations: 4 kB / 0.6898 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002726/0.6281, allocations: 1.009 MB / 0.6907 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6282, allocations: 4.297 kB / 0.6907 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.6293, allocations: 320.6 kB / 0.6911 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/0.6299, allocations: 135.8 kB / 0.6912 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.6313, allocations: 0.9464 MB / 0.6921 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.6325, allocations: 159.5 kB / 0.6923 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/0.6326, allocations: 31.97 kB / 0.6923 GB, free: 15.99 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0005527/0.6332, allocations: 356.9 kB / 0.6926 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.6334, allocations: 110.6 kB / 0.6927 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/0.6381, allocations: 1.447 MB / 0.6941 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.6381, allocations: 8 kB / 0.6942 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.6381, allocations: 0 / 0.6942 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.6381, allocations: 3.984 kB / 0.6942 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005949/0.6441, allocations: 2.518 MB / 0.6966 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.6441, allocations: 0 / 0.6966 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.6447, allocations: 116 kB / 0.6967 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.6458, allocations: 324.5 kB / 0.697 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.6459, allocations: 23.98 kB / 0.6971 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.6473, allocations: 0.9682 MB / 0.698 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6473, allocations: 0 / 0.698 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.6518, allocations: 1.456 MB / 0.6994 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005154/0.6523, allocations: 295.4 kB / 0.6997 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.6524, allocations: 8 kB / 0.6997 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009605/0.6534, allocations: 131.8 kB / 0.6998 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/0.6535, allocations: 52.25 kB / 0.6999 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/0.6536, allocations: 23.98 kB / 0.6999 GB, free: 8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009129/0.6545, allocations: 0.6557 MB / 0.7006 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6545, allocations: 0 / 0.7006 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001465/0.656, allocations: 0.573 MB / 0.7011 GB, free: 6.762 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00537/0.6613, allocations: 2.267 MB / 0.7033 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003944/0.6653, allocations: 1.397 MB / 0.7047 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.6653, allocations: 4 kB / 0.7047 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.6666, allocations: 492.8 kB / 0.7052 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.6695, allocations: 0.4986 MB / 0.7057 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.6884, allocations: 9.313 MB / 0.7147 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.6891, allocations: 1.066 MB / 0.7158 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001106/0.6902, allocations: 227.6 kB / 0.716 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/0.6908, allocations: 411.3 kB / 0.7164 GB, free: 6.699 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.6908, allocations: 0 / 0.7164 GB, free: 6.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05466/0.7455, allocations: 31.62 MB / 0.7473 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.7457, allocations: 277.8 kB / 0.7475 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.301, allocations: 0 / 0.7475 GB, free: 7.227 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)