Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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_y,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",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.009919/0.009919, allocations: 101 kB / 15.73 MB, free: 6.059 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.002334/0.002334, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.597/2.597, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.406/1.406, allocations: 135.2 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 66.91 kB / 0.5852 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2897, allocations: 80.93 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.1438/0.4336, allocations: 75.17 MB / 0.7376 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.7148/1.148, allocations: 15.13 MB / 0.7524 GB, free: 25.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004661/1.153, allocations: 67.78 kB / 0.7525 GB, free: 25.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004076/1.157, allocations: 0.8279 MB / 0.7533 GB, free: 25.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/1.17, allocations: 2.59 MB / 0.7558 GB, free: 25.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006799/1.177, allocations: 1.381 MB / 0.7571 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01428/1.192, allocations: 4.409 MB / 0.7614 GB, free: 25.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005068/1.197, allocations: 1.448 MB / 0.7629 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008445/1.205, allocations: 1.638 MB / 0.7645 GB, free: 25.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005102/1.21, allocations: 1.223 MB / 0.7657 GB, free: 25.1 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009074/1.211, allocations: 163.3 kB / 0.7658 GB, free: 25.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007317/1.219, allocations: 1.406 MB / 0.7672 GB, free: 25.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/1.22, allocations: 399.1 kB / 0.7676 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003403/1.223, allocations: 0.9073 MB / 0.7685 GB, free: 24.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/1.234, allocations: 2.886 MB / 0.7713 GB, free: 24.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/1.234, allocations: 0 / 0.7713 GB, free: 24.42 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.148e-06/1.234, allocations: 1.219 kB / 0.7713 GB, free: 24.42 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.459e-05/1.234, allocations: 0 / 0.7713 GB, free: 24.42 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.01034/1.244, allocations: 2.152 MB / 0.7734 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.274e-05/1.244, allocations: 9.516 kB / 0.7734 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004389/1.245, allocations: 146.7 kB / 0.7735 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/1.247, allocations: 239.9 kB / 0.7738 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005473/1.252, allocations: 1.545 MB / 0.7753 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/1.252, allocations: 74.28 kB / 0.7753 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/1.253, allocations: 99.88 kB / 0.7754 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/1.257, allocations: 1.107 MB / 0.7765 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/1.257, allocations: 4.844 kB / 0.7765 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/1.257, allocations: 40.06 kB / 0.7765 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.339e-05/1.257, allocations: 24.25 kB / 0.7766 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003343/1.26, allocations: 0.8922 MB / 0.7774 GB, free: 22.61 MB / 0.5762 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.01163/1.272, allocations: 4.93 MB / 0.7823 GB, free: 19.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/1.275, allocations: 0.616 MB / 0.7829 GB, free: 19.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/1.276, allocations: 351.6 kB / 0.7832 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008709/1.277, allocations: 0.8281 MB / 0.784 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.277, allocations: 38.56 kB / 0.784 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 5.38e-06/1.277, allocations: 0 / 0.784 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.01332/1.29, allocations: 1.697 MB / 0.7857 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/1.29, allocations: 71.12 kB / 0.7858 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/1.294, allocations: 1.231 MB / 0.787 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/1.294, allocations: 38.3 kB / 0.787 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007589/1.295, allocations: 0.6138 MB / 0.7876 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/1.296, allocations: 228.8 kB / 0.7878 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004056/1.296, allocations: 153.4 kB / 0.788 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/1.296, allocations: 331.9 kB / 0.7883 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.297, allocations: 290.4 kB / 0.7886 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/1.299, allocations: 0.4954 MB / 0.789 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002709/1.302, allocations: 0.7046 MB / 0.7897 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/1.302, allocations: 5.438 kB / 0.7897 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008565/1.31, allocations: 1.282 MB / 0.791 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/1.31, allocations: 8.281 kB / 0.791 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.31, allocations: 2.688 kB / 0.791 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/1.312, allocations: 147.3 kB / 0.7911 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.313, allocations: 152.8 kB / 0.7913 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/1.314, allocations: 0.7083 MB / 0.792 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/1.317, allocations: 118.3 kB / 0.7921 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/1.317, allocations: 29.64 kB / 0.7921 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002295/1.319, allocations: 0.5548 MB / 0.7927 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001443/1.321, allocations: 499.7 kB / 0.7931 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002189/1.323, allocations: 0.6963 MB / 0.7938 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.564e-06/1.323, allocations: 2.75 kB / 0.7938 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.008184/1.331, allocations: 1.279 MB / 0.7951 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/1.331, allocations: 7.281 kB / 0.7951 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.331, allocations: 2.375 kB / 0.7951 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009661/1.332, allocations: 144.7 kB / 0.7952 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.333, allocations: 161.5 kB / 0.7954 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/1.335, allocations: 0.6968 MB / 0.7961 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/1.337, allocations: 109.5 kB / 0.7962 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/1.337, allocations: 31.23 kB / 0.7962 GB, free: 11.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004267/1.338, allocations: 230.5 kB / 0.7964 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007502/1.339, allocations: 138.8 kB / 0.7965 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008206/1.347, allocations: 1.267 MB / 0.7978 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/1.347, allocations: 11.23 kB / 0.7978 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.347, allocations: 0 / 0.7978 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007169/1.354, allocations: 1.101 MB / 0.7989 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/1.366, allocations: 2.626 MB / 0.8014 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/1.367, allocations: 4.594 kB / 0.8014 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/1.367, allocations: 109.1 kB / 0.8015 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009819/1.369, allocations: 131.4 kB / 0.8017 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.369, allocations: 15.62 kB / 0.8017 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008489/1.377, allocations: 2.639 MB / 0.8043 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.377, allocations: 4.719 kB / 0.8043 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009299/1.387, allocations: 1.704 MB / 0.8059 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.388, allocations: 316.1 kB / 0.8062 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/1.389, allocations: 16.44 kB / 0.8062 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.39, allocations: 61.52 kB / 0.8063 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/1.39, allocations: 57.34 kB / 0.8064 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.391, allocations: 33.28 kB / 0.8064 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00229/1.393, allocations: 0.8816 MB / 0.8072 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.61e-07/1.393, allocations: 2.219 kB / 0.8072 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003804/1.397, allocations: 0.7317 MB / 0.808 GB, free: 3.391 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01071/1.407, allocations: 2.599 MB / 0.8105 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004252/1.412, allocations: 1.124 MB / 0.8116 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.412, allocations: 0 / 0.8116 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002636/1.414, allocations: 0.5658 MB / 0.8121 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006843/1.421, allocations: 0.7896 MB / 0.8129 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03597/1.457, allocations: 9.873 MB / 0.8226 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/1.459, allocations: 1.183 MB / 0.8237 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002524/1.461, allocations: 306.9 kB / 0.824 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.463, allocations: 0.5149 MB / 0.8245 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of SimCode: time 1.412e-06/1.463, allocations: 0 / 0.8245 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1672/1.63, allocations: 42.59 MB / 0.8661 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.1/22.74, allocations: 10.16 kB / 0.8661 GB, free: 7.992 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)