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.001095/0.001095, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 194 kB / 16.53 MB, free: 6.699 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7437/0.7437, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 61.34 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3774, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05967/0.4371, allocations: 61.16 MB / 0.6399 GB, free: 4.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.4537, allocations: 11.97 MB / 0.6516 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/0.4557, allocations: 59.62 kB / 0.6517 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.4574, allocations: 0.683 MB / 0.6523 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005358/0.4628, allocations: 1.962 MB / 0.6542 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.4657, allocations: 1.199 MB / 0.6554 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003689/0.4694, allocations: 3.078 MB / 0.6584 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.471, allocations: 1.104 MB / 0.6595 GB, free: 36 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.4741, allocations: 1.318 MB / 0.6608 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.4757, allocations: 0.8945 MB / 0.6617 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003337/0.476, allocations: 116 kB / 0.6618 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.4791, allocations: 1.439 MB / 0.6632 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.4795, allocations: 294.9 kB / 0.6635 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.4806, allocations: 0.6958 MB / 0.6641 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003686/0.4843, allocations: 2.275 MB / 0.6664 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4843, allocations: 0 / 0.6664 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4843, allocations: 0 / 0.6664 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.586e-05/0.4843, allocations: 0 / 0.6664 GB, free: 8.992 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.003811/0.4882, allocations: 1.719 MB / 0.668 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.4882, allocations: 8.031 kB / 0.668 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002154/0.4884, allocations: 130.9 kB / 0.6682 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.4907, allocations: 406.6 kB / 0.6686 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.493, allocations: 1.104 MB / 0.6696 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.4934, allocations: 117.9 kB / 0.6697 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4935, allocations: 80 kB / 0.6698 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.4956, allocations: 1.005 MB / 0.6708 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.4956, allocations: 4 kB / 0.6708 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.4957, allocations: 32 kB / 0.6708 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.4957, allocations: 16 kB / 0.6709 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.498, allocations: 0.8741 MB / 0.6717 GB, free: 3.32 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.006449/0.5045, allocations: 5.267 MB / 0.6769 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/0.5081, allocations: 0.7974 MB / 0.6776 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.5088, allocations: 300.7 kB / 0.6779 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/0.5095, allocations: 0.9025 MB / 0.6788 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.5095, allocations: 50.44 kB / 0.6788 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.877e-06/0.5095, allocations: 0 / 0.6788 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008908/0.5185, allocations: 1.907 MB / 0.6807 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.5185, allocations: 63.41 kB / 0.6808 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.5202, allocations: 1.072 MB / 0.6818 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/0.5203, allocations: 37.7 kB / 0.6819 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.5207, allocations: 0.5312 MB / 0.6824 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.5209, allocations: 153.8 kB / 0.6825 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.5211, allocations: 138.1 kB / 0.6826 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5212, allocations: 333.9 kB / 0.683 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009092/0.5221, allocations: 307.2 kB / 0.6833 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.5232, allocations: 0.5425 MB / 0.6838 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.525, allocations: 0.725 MB / 0.6845 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.525, allocations: 0 / 0.6845 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002766/0.5277, allocations: 1.024 MB / 0.6855 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5278, allocations: 13.5 kB / 0.6855 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5278, allocations: 4 kB / 0.6855 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.5291, allocations: 328.6 kB / 0.6858 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.5297, allocations: 127.8 kB / 0.6859 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.5312, allocations: 0.9138 MB / 0.6868 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.5324, allocations: 159.2 kB / 0.687 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/0.5325, allocations: 31.98 kB / 0.687 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001161/0.5337, allocations: 0.5129 MB / 0.6875 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0011/0.5348, allocations: 0.5383 MB / 0.6881 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001689/0.5365, allocations: 0.7219 MB / 0.6888 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/0.5365, allocations: 0 / 0.6888 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002762/0.5392, allocations: 1.016 MB / 0.6897 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5393, allocations: 8 kB / 0.6898 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.5393, allocations: 12.05 kB / 0.6898 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.5404, allocations: 304.5 kB / 0.6901 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.541, allocations: 131.8 kB / 0.6902 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.5424, allocations: 0.9074 MB / 0.6911 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.5437, allocations: 143.5 kB / 0.6912 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.5438, allocations: 35.98 kB / 0.6912 GB, free: 14.21 MB / 0.5294 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.0002074/0.544, allocations: 220 kB / 0.6914 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.5442, allocations: 114.6 kB / 0.6916 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.5481, allocations: 1.098 MB / 0.6926 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.5481, allocations: 7.984 kB / 0.6926 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5481, allocations: 0 / 0.6926 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.5481, allocations: 4 kB / 0.6926 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005275/0.5534, allocations: 2.159 MB / 0.6948 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.5534, allocations: 4 kB / 0.6948 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.5537, allocations: 59.89 kB / 0.6948 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.5547, allocations: 304.8 kB / 0.6951 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.5548, allocations: 19.98 kB / 0.6951 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.5563, allocations: 0.9368 MB / 0.696 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.5563, allocations: 8 kB / 0.696 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.5599, allocations: 1.167 MB / 0.6972 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.5604, allocations: 263.5 kB / 0.6974 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.5606, allocations: 15.98 kB / 0.6975 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008962/0.5615, allocations: 71.92 kB / 0.6975 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.5616, allocations: 35.83 kB / 0.6976 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.5617, allocations: 23.98 kB / 0.6976 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001241/0.563, allocations: 0.759 MB / 0.6983 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.563, allocations: 0 / 0.6983 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00152/0.5645, allocations: 0.5692 MB / 0.6989 GB, free: 6.184 MB / 0.5294 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.004534/0.569, allocations: 1.978 MB / 0.7008 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003303/0.5723, allocations: 1.16 MB / 0.7019 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5724, allocations: 0 / 0.7019 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000883/0.5733, allocations: 350.8 kB / 0.7023 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.5755, allocations: 0.5126 MB / 0.7028 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.5919, allocations: 8.723 MB / 0.7113 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.5925, allocations: 1.057 MB / 0.7123 GB, free: 7.887 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009107/0.5934, allocations: 224.5 kB / 0.7125 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/0.594, allocations: 411.3 kB / 0.7129 GB, free: 7.266 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.594, allocations: 0 / 0.7129 GB, free: 7.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5859/1.18, allocations: 33.36 MB / 0.7455 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.17, allocations: 11.94 kB / 0.7455 GB, free: 6.352 MB / 0.5762 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)