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.0008664/0.0008665, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005701/0.005701, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8417/0.8417, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002676, allocations: 8.781 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3239/0.46, allocations: 73.42 MB / 0.6598 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.4789, allocations: 15.02 MB / 0.6744 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.4814, allocations: 57.66 kB / 0.6745 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.4834, allocations: 0.6787 MB / 0.6752 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006646/0.49, allocations: 2.376 MB / 0.6775 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.4935, allocations: 1.273 MB / 0.6787 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007919/0.5014, allocations: 5.565 MB / 0.6842 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.5034, allocations: 1.152 MB / 0.6853 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.5065, allocations: 1.338 MB / 0.6866 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.5082, allocations: 1.15 MB / 0.6877 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.5083, allocations: 55.16 kB / 0.6878 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.5114, allocations: 1.239 MB / 0.689 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.5118, allocations: 289.7 kB / 0.6893 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008992/0.5127, allocations: 0.7955 MB / 0.69 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.5163, allocations: 2.718 MB / 0.6927 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5163, allocations: 0 / 0.6927 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5163, allocations: 1.25 kB / 0.6927 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.5163, allocations: 4 kB / 0.6927 GB, free: 4.133 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.003419/0.5197, allocations: 1.789 MB / 0.6944 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5198, allocations: 13.47 kB / 0.6944 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002154/0.52, allocations: 148.4 kB / 0.6946 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007565/0.5208, allocations: 245.8 kB / 0.6948 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.5233, allocations: 1.493 MB / 0.6963 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.5234, allocations: 77.22 kB / 0.6964 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.5236, allocations: 102 kB / 0.6965 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.5258, allocations: 1.123 MB / 0.6975 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.5258, allocations: 1.766 kB / 0.6976 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/0.5259, allocations: 38.53 kB / 0.6976 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.526, allocations: 32.75 kB / 0.6976 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.528, allocations: 0.9336 MB / 0.6985 GB, free: 0.9336 MB / 0.5137 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.006161/0.5342, allocations: 4.912 MB / 0.7033 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.5356, allocations: 0.6518 MB / 0.704 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/0.5363, allocations: 367.6 kB / 0.7043 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/0.537, allocations: 0.8291 MB / 0.7051 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.537, allocations: 38.34 kB / 0.7052 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.154e-06/0.537, allocations: 0 / 0.7052 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007459/0.5445, allocations: 1.905 MB / 0.707 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.5446, allocations: 61.34 kB / 0.7071 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.5463, allocations: 1.216 MB / 0.7083 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.5464, allocations: 40.14 kB / 0.7083 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.5469, allocations: 0.6045 MB / 0.7089 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.5471, allocations: 214.5 kB / 0.7091 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.5472, allocations: 71.5 kB / 0.7092 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5473, allocations: 336.3 kB / 0.7095 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.548, allocations: 298.3 kB / 0.7098 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.5489, allocations: 0.5108 MB / 0.7103 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.5504, allocations: 0.7534 MB / 0.711 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5504, allocations: 1.312 kB / 0.711 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005075/0.5555, allocations: 1.411 MB / 0.7124 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.5557, allocations: 192.6 kB / 0.7126 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5557, allocations: 5.531 kB / 0.7126 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/0.5563, allocations: 140.1 kB / 0.7127 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.5569, allocations: 173.2 kB / 0.7129 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008835/0.5578, allocations: 0.7153 MB / 0.7136 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.559, allocations: 166.5 kB / 0.7137 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/0.5591, allocations: 35.17 kB / 0.7138 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.5591, allocations: 4.625 kB / 0.7138 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004591/0.5637, allocations: 1.253 MB / 0.715 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5637, allocations: 7.469 kB / 0.715 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.5642, allocations: 152.8 kB / 0.7151 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.5648, allocations: 163.8 kB / 0.7153 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007928/0.5656, allocations: 0.7144 MB / 0.716 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.5667, allocations: 168.4 kB / 0.7162 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.5668, allocations: 26.88 kB / 0.7162 GB, free: 5.719 MB / 0.5294 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.000703/0.5675, allocations: 425.2 kB / 0.7166 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.5677, allocations: 139.6 kB / 0.7167 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004713/0.5724, allocations: 1.398 MB / 0.7181 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.5724, allocations: 9.891 kB / 0.7181 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5724, allocations: 0 / 0.7181 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004281/0.5767, allocations: 1.235 MB / 0.7193 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006324/0.583, allocations: 2.738 MB / 0.722 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.5831, allocations: 7.984 kB / 0.722 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/0.5835, allocations: 124.2 kB / 0.7221 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004838/0.584, allocations: 139 kB / 0.7222 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.5841, allocations: 19.98 kB / 0.7223 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004758/0.5888, allocations: 2.483 MB / 0.7247 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5889, allocations: 4 kB / 0.7247 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005387/0.5943, allocations: 1.855 MB / 0.7265 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/0.5948, allocations: 331 kB / 0.7268 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.595, allocations: 19.98 kB / 0.7268 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/0.5958, allocations: 106 kB / 0.7269 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.596, allocations: 60.23 kB / 0.727 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.596, allocations: 35.97 kB / 0.727 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001123/0.5972, allocations: 0.8701 MB / 0.7279 GB, free: 11.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5972, allocations: 4 kB / 0.7279 GB, free: 11.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001822/0.599, allocations: 0.7057 MB / 0.7286 GB, free: 10.95 MB / 0.545 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.006383/0.6054, allocations: 2.731 MB / 0.7312 GB, free: 8.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002537/0.6079, allocations: 1.168 MB / 0.7324 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6079, allocations: 4.062 kB / 0.7324 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.6094, allocations: 0.5915 MB / 0.733 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004144/0.6136, allocations: 0.7961 MB / 0.7337 GB, free: 5.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/0.6381, allocations: 11.21 MB / 0.7447 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/0.6389, allocations: 1.187 MB / 0.7458 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00127/0.6402, allocations: 306.9 kB / 0.7461 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007232/0.6409, allocations: 0.5266 MB / 0.7467 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.641, allocations: 0 / 0.7467 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.142/3.783, allocations: 42.49 MB / 0.7881 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/3.783, allocations: 255.6 kB / 0.7884 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/6.428, allocations: 8 kB / 0.7884 GB, free: 13.56 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)