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.001569/0.001569, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002021/0.002021, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.677/2.677, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.187/1.187, allocations: 132.3 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004321, allocations: 8.625 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.6402, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06758/0.7078, allocations: 51.28 MB / 0.633 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01885/0.7267, allocations: 10.3 MB / 0.6431 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.7299, allocations: 47.69 kB / 0.6431 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.7331, allocations: 0.6297 MB / 0.6438 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008692/0.7418, allocations: 1.942 MB / 0.6457 GB, free: 264 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004739/0.7466, allocations: 1.308 MB / 0.6469 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004862/0.7515, allocations: 1.851 MB / 0.6487 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.7533, allocations: 0.8096 MB / 0.6495 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00287/0.7562, allocations: 0.9886 MB / 0.6505 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.7576, allocations: 0.5988 MB / 0.6511 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.7578, allocations: 43.94 kB / 0.6511 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.7608, allocations: 0.9868 MB / 0.6521 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.7611, allocations: 195.1 kB / 0.6523 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.7616, allocations: 285 kB / 0.6525 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.7641, allocations: 1.57 MB / 0.6541 GB, free: 7.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7641, allocations: 4 kB / 0.6541 GB, free: 7.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.7641, allocations: 0 / 0.6541 GB, free: 7.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.7642, allocations: 0 / 0.6541 GB, free: 7.609 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.003691/0.7679, allocations: 1.481 MB / 0.6555 GB, free: 6.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.7679, allocations: 8.031 kB / 0.6555 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.7681, allocations: 122.7 kB / 0.6557 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.7705, allocations: 481.8 kB / 0.6561 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.7728, allocations: 1.047 MB / 0.6571 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003908/0.7732, allocations: 133.9 kB / 0.6573 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.7733, allocations: 76 kB / 0.6573 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/0.7756, allocations: 0.9973 MB / 0.6583 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.7757, allocations: 0 / 0.6583 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/0.7758, allocations: 32 kB / 0.6583 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.7758, allocations: 23.95 kB / 0.6584 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.7784, allocations: 0.9133 MB / 0.6593 GB, free: 2.141 MB / 494.1 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.009839/0.7882, allocations: 4.918 MB / 0.6641 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003708/0.792, allocations: 0.9112 MB / 0.6649 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009245/0.7929, allocations: 0.8986 MB / 0.6658 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.793, allocations: 30.56 kB / 0.6659 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 5.521e-06/0.793, allocations: 0 / 0.6659 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.009323/0.8023, allocations: 2.154 MB / 0.668 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.8024, allocations: 55.41 kB / 0.668 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.8043, allocations: 1.071 MB / 0.6691 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.8044, allocations: 37.7 kB / 0.6691 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/0.8049, allocations: 0.5118 MB / 0.6696 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.8051, allocations: 161.8 kB / 0.6697 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.8052, allocations: 8 kB / 0.6698 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.8053, allocations: 326 kB / 0.6701 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009659/0.8063, allocations: 320.8 kB / 0.6704 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.8074, allocations: 0.526 MB / 0.6709 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000984/0.8084, allocations: 361.9 kB / 0.6712 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.8085, allocations: 4 kB / 0.6712 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004325/0.8128, allocations: 1.208 MB / 0.6724 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008677/0.8137, allocations: 1.671 MB / 0.674 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.8137, allocations: 4 kB / 0.674 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.8151, allocations: 328.7 kB / 0.6744 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.8158, allocations: 127.8 kB / 0.6745 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.8175, allocations: 0.9418 MB / 0.6754 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.8192, allocations: 203.1 kB / 0.6756 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.8193, allocations: 31.94 kB / 0.6756 GB, free: 488 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.8194, allocations: 4 kB / 0.6756 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003609/0.823, allocations: 1.074 MB / 0.6767 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.823, allocations: 4 kB / 0.6767 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.8242, allocations: 329 kB / 0.677 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.8247, allocations: 131.8 kB / 0.6771 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.8264, allocations: 0.9193 MB / 0.678 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.8279, allocations: 179.3 kB / 0.6782 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/0.828, allocations: 31.98 kB / 0.6782 GB, free: 13.79 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.0008673/0.8289, allocations: 352.9 kB / 0.6786 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.8292, allocations: 106.7 kB / 0.6787 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.8332, allocations: 1.206 MB / 0.6798 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.8333, allocations: 4 kB / 0.6798 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.8333, allocations: 0 / 0.6798 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.8333, allocations: 7.938 kB / 0.6799 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005795/0.8391, allocations: 2.277 MB / 0.6821 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.8392, allocations: 4 kB / 0.6821 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.8395, allocations: 63.89 kB / 0.6821 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.8407, allocations: 323.3 kB / 0.6824 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.8408, allocations: 15.98 kB / 0.6825 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.8424, allocations: 0.966 MB / 0.6834 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.8425, allocations: 3.938 kB / 0.6834 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003999/0.8465, allocations: 1.375 MB / 0.6848 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/0.8472, allocations: 283.4 kB / 0.685 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.8474, allocations: 16 kB / 0.685 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009499/0.8483, allocations: 119.7 kB / 0.6852 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.8485, allocations: 39.91 kB / 0.6852 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.8485, allocations: 23.98 kB / 0.6852 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001359/0.8499, allocations: 0.7545 MB / 0.6859 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8499, allocations: 0 / 0.6859 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001749/0.8517, allocations: 0.5575 MB / 0.6865 GB, free: 5.055 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.005153/0.8568, allocations: 2.784 MB / 0.6892 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.8603, allocations: 1.159 MB / 0.6903 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.8603, allocations: 4 kB / 0.6903 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009466/0.8613, allocations: 360.5 kB / 0.6907 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.8641, allocations: 0.4945 MB / 0.6912 GB, free: 200 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008193/0.8723, allocations: 5.935 MB / 0.697 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.873, allocations: 1.077 MB / 0.698 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001116/0.8742, allocations: 224.5 kB / 0.6982 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/0.8747, allocations: 411.3 kB / 0.6986 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.8747, allocations: 4 kB / 0.6986 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.338/2.213, allocations: 32.91 MB / 0.7308 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003806/2.214, allocations: 235.9 kB / 0.731 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.452/6.665, allocations: 4 kB / 0.731 GB, free: 7.703 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: