Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_y,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_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.001498/0.001498, 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.001687/0.001687, allocations: 195.9 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7217/0.7217, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.34 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3389, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07901/0.418, allocations: 75.17 MB / 0.6536 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02441/0.4424, allocations: 15.14 MB / 0.6684 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/0.4451, allocations: 63.62 kB / 0.6684 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.4478, allocations: 0.8306 MB / 0.6693 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008063/0.4559, allocations: 2.592 MB / 0.6718 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.4597, allocations: 1.373 MB / 0.6731 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006411/0.4661, allocations: 4.393 MB / 0.6774 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.4687, allocations: 1.449 MB / 0.6788 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.4729, allocations: 1.631 MB / 0.6804 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.4754, allocations: 1.217 MB / 0.6816 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004796/0.4759, allocations: 168 kB / 0.6818 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.4795, allocations: 1.404 MB / 0.6831 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005501/0.4801, allocations: 394.6 kB / 0.6835 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.4815, allocations: 0.9099 MB / 0.6844 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.4858, allocations: 2.836 MB / 0.6872 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.4858, allocations: 0 / 0.6872 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4858, allocations: 0 / 0.6872 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.4858, allocations: 0 / 0.6872 GB, free: 3.645 MB / 0.5137 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.003587/0.4894, allocations: 2.095 MB / 0.6892 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4895, allocations: 12.03 kB / 0.6892 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.4896, allocations: 163.9 kB / 0.6894 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000789/0.4904, allocations: 226.8 kB / 0.6896 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.4926, allocations: 1.454 MB / 0.691 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.4927, allocations: 77.94 kB / 0.6911 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.4928, allocations: 104 kB / 0.6912 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.4947, allocations: 1.1 MB / 0.6923 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.4948, allocations: 3.984 kB / 0.6923 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.4949, allocations: 40 kB / 0.6923 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/0.4949, allocations: 28 kB / 0.6923 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.4968, allocations: 0.89 MB / 0.6932 GB, free: 13.3 MB / 0.5294 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.005556/0.5024, allocations: 4.946 MB / 0.698 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.5038, allocations: 0.618 MB / 0.6987 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.5045, allocations: 352.4 kB / 0.699 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.5051, allocations: 0.8277 MB / 0.6998 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.5051, allocations: 43.06 kB / 0.6998 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 1.964e-06/0.5052, allocations: 0 / 0.6998 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007245/0.5124, allocations: 1.701 MB / 0.7015 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.5125, allocations: 55.97 kB / 0.7016 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.5141, allocations: 1.226 MB / 0.7027 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.5141, allocations: 45.7 kB / 0.7028 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.5146, allocations: 0.5987 MB / 0.7034 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.5148, allocations: 220.9 kB / 0.7036 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.5151, allocations: 150.6 kB / 0.7037 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5153, allocations: 341.9 kB / 0.7041 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/0.5159, allocations: 288.6 kB / 0.7043 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/0.5168, allocations: 0.4905 MB / 0.7048 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.5182, allocations: 0.7168 MB / 0.7055 GB, free: 20 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5182, allocations: 4 kB / 0.7055 GB, free: 16 kB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004798/0.523, allocations: 1.269 MB / 0.7068 GB, free: 14.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.523, allocations: 4.375 kB / 0.7068 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.5231, allocations: 8 kB / 0.7068 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/0.5236, allocations: 136.7 kB / 0.7069 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.5243, allocations: 155.7 kB / 0.707 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008493/0.5251, allocations: 0.7084 MB / 0.7077 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009667/0.5261, allocations: 127 kB / 0.7079 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.5262, allocations: 31.98 kB / 0.7079 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001028/0.5272, allocations: 0.5488 MB / 0.7084 GB, free: 12.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008327/0.5281, allocations: 0.4928 MB / 0.7089 GB, free: 12.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001454/0.5295, allocations: 0.705 MB / 0.7096 GB, free: 11.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.5295, allocations: 3.984 kB / 0.7096 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004864/0.5344, allocations: 1.262 MB / 0.7108 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.5344, allocations: 15.97 kB / 0.7108 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5344, allocations: 0 / 0.7108 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.5349, allocations: 140.7 kB / 0.711 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.5355, allocations: 159.7 kB / 0.7111 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000803/0.5363, allocations: 0.7081 MB / 0.7118 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.5374, allocations: 103.5 kB / 0.7119 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.5374, allocations: 35.98 kB / 0.712 GB, free: 9.203 MB / 0.545 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.0002299/0.5377, allocations: 228.6 kB / 0.7122 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.5379, allocations: 138.4 kB / 0.7123 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/0.5428, allocations: 1.256 MB / 0.7135 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5428, allocations: 15.94 kB / 0.7135 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5428, allocations: 0 / 0.7135 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004438/0.5473, allocations: 1.107 MB / 0.7146 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006737/0.554, allocations: 2.614 MB / 0.7172 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.554, allocations: 4 kB / 0.7172 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.5545, allocations: 111.8 kB / 0.7173 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005012/0.555, allocations: 128.8 kB / 0.7174 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.5551, allocations: 19.98 kB / 0.7174 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005284/0.5604, allocations: 2.633 MB / 0.72 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5604, allocations: 7.938 kB / 0.72 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/0.5661, allocations: 1.703 MB / 0.7217 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/0.5667, allocations: 307.2 kB / 0.722 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.5669, allocations: 16 kB / 0.722 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/0.5677, allocations: 47.94 kB / 0.722 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.5678, allocations: 64.39 kB / 0.7221 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.5679, allocations: 39.92 kB / 0.7221 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001228/0.5691, allocations: 0.8818 MB / 0.723 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5691, allocations: 0 / 0.723 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001704/0.5708, allocations: 0.7174 MB / 0.7237 GB, free: 12.77 MB / 0.5606 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.006407/0.5773, allocations: 2.602 MB / 0.7262 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.5801, allocations: 1.153 MB / 0.7274 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5802, allocations: 0 / 0.7274 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.5817, allocations: 0.5643 MB / 0.7279 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/0.5852, allocations: 0.7997 MB / 0.7287 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/0.6047, allocations: 10.5 MB / 0.7389 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007159/0.6055, allocations: 1.175 MB / 0.7401 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001221/0.6067, allocations: 311 kB / 0.7404 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006434/0.6074, allocations: 0.5149 MB / 0.7409 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.6074, allocations: 0 / 0.7409 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2727/0.8801, allocations: 42.3 MB / 0.7822 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.7, allocations: 11.48 kB / 0.7822 GB, free: 0.7812 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)