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.00677/0.00677, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001566/0.001567, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7151/0.7151, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.92 kB / 0.5809 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.153, allocations: 80.21 MB / 0.6592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06112/0.2142, allocations: 61.16 MB / 0.7189 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.2308, allocations: 11.97 MB / 0.7306 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/0.2336, allocations: 59.62 kB / 0.7307 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.2364, allocations: 0.6947 MB / 0.7314 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007243/0.2436, allocations: 2.067 MB / 0.7334 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.2473, allocations: 1.209 MB / 0.7346 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004333/0.2516, allocations: 3.087 MB / 0.7376 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.2534, allocations: 1.104 MB / 0.7386 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.2565, allocations: 1.373 MB / 0.74 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.2581, allocations: 0.8945 MB / 0.7409 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.2584, allocations: 116 kB / 0.741 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/0.2622, allocations: 1.439 MB / 0.7424 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004625/0.2627, allocations: 294.8 kB / 0.7427 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.2639, allocations: 0.6881 MB / 0.7433 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004207/0.2681, allocations: 2.303 MB / 0.7456 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2682, allocations: 0 / 0.7456 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.817e-06/0.2682, allocations: 0 / 0.7456 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.979e-05/0.2683, allocations: 11.88 kB / 0.7456 GB, free: 5.113 MB / 0.5762 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.003959/0.2722, allocations: 1.722 MB / 0.7473 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.2723, allocations: 8.031 kB / 0.7473 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000249/0.2725, allocations: 122.9 kB / 0.7474 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.2747, allocations: 414.4 kB / 0.7478 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.2773, allocations: 1.151 MB / 0.7489 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.2774, allocations: 65.94 kB / 0.749 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.2776, allocations: 80 kB / 0.7491 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.2797, allocations: 1.005 MB / 0.75 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.2797, allocations: 8 kB / 0.75 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/0.2798, allocations: 32 kB / 0.7501 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.2798, allocations: 20 kB / 0.7501 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.282, allocations: 0.8546 MB / 0.7509 GB, free: 15.45 MB / 0.5919 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.007064/0.2891, allocations: 5.22 MB / 0.756 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.2922, allocations: 0.7749 MB / 0.7568 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006641/0.2928, allocations: 300.6 kB / 0.7571 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006794/0.2935, allocations: 0.9064 MB / 0.758 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.2936, allocations: 38.56 kB / 0.758 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.525e-06/0.2936, allocations: 0 / 0.758 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.007546/0.3012, allocations: 1.849 MB / 0.7598 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3012, allocations: 59.34 kB / 0.7599 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.3031, allocations: 1.072 MB / 0.7609 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.3032, allocations: 37.7 kB / 0.7609 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.3036, allocations: 0.5388 MB / 0.7615 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.3038, allocations: 149.8 kB / 0.7616 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.304, allocations: 130.2 kB / 0.7617 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3041, allocations: 333.9 kB / 0.762 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007954/0.3049, allocations: 311.3 kB / 0.7623 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.306, allocations: 0.5307 MB / 0.7629 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.3075, allocations: 0.7172 MB / 0.7636 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.3075, allocations: 4 kB / 0.7636 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002582/0.3101, allocations: 1.008 MB / 0.7645 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3102, allocations: 10.19 kB / 0.7646 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3102, allocations: 12.06 kB / 0.7646 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.3114, allocations: 308.6 kB / 0.7649 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.3119, allocations: 131.8 kB / 0.765 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.3133, allocations: 0.8996 MB / 0.7659 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3147, allocations: 155.2 kB / 0.766 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.3148, allocations: 31.98 kB / 0.766 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001258/0.3161, allocations: 0.5128 MB / 0.7665 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009906/0.3171, allocations: 0.5346 MB / 0.7671 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001512/0.3186, allocations: 0.7024 MB / 0.7678 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/0.3186, allocations: 0 / 0.7678 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002639/0.3212, allocations: 1.008 MB / 0.7687 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3213, allocations: 8 kB / 0.7687 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3213, allocations: 4 kB / 0.7688 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.3224, allocations: 296.8 kB / 0.769 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.3229, allocations: 127.8 kB / 0.7692 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.3242, allocations: 0.8947 MB / 0.77 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.3254, allocations: 139.5 kB / 0.7702 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/0.3255, allocations: 35.98 kB / 0.7702 GB, free: 10.62 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002573/0.3258, allocations: 216.1 kB / 0.7704 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.3261, allocations: 110.7 kB / 0.7705 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/0.3295, allocations: 1.092 MB / 0.7716 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.3295, allocations: 4 kB / 0.7716 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3295, allocations: 4 kB / 0.7716 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3295, allocations: 0 / 0.7716 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004849/0.3344, allocations: 2.159 MB / 0.7737 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.3344, allocations: 0 / 0.7737 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.3347, allocations: 63.89 kB / 0.7738 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009212/0.3356, allocations: 296.9 kB / 0.774 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.3357, allocations: 15.92 kB / 0.7741 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.337, allocations: 0.929 MB / 0.775 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.337, allocations: 0 / 0.775 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.3403, allocations: 1.152 MB / 0.7761 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/0.341, allocations: 263.5 kB / 0.7763 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/0.3414, allocations: 8 kB / 0.7763 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.3424, allocations: 71.92 kB / 0.7764 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3426, allocations: 39.83 kB / 0.7764 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.3426, allocations: 23.98 kB / 0.7765 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001688/0.3443, allocations: 0.7551 MB / 0.7772 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3444, allocations: 4 kB / 0.7772 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001905/0.3463, allocations: 0.5653 MB / 0.7778 GB, free: 2.66 MB / 0.6075 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.004499/0.3508, allocations: 1.967 MB / 0.7797 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003144/0.3539, allocations: 1.124 MB / 0.7808 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.354, allocations: 0 / 0.7808 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008343/0.3548, allocations: 342.8 kB / 0.7811 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.3572, allocations: 0.5069 MB / 0.7816 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.3733, allocations: 8.255 MB / 0.7897 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/0.3741, allocations: 1.061 MB / 0.7907 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000915/0.375, allocations: 232.6 kB / 0.7909 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/0.3756, allocations: 411.3 kB / 0.7913 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of SimCode: time 4.1e-07/0.3756, allocations: 0 / 0.7913 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3678/0.7434, allocations: 33.52 MB / 0.8241 GB, free: 140.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.61, allocations: 17.11 kB / 0.8241 GB, free: 140.4 MB / 0.6387 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/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)