Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_8_Buildings_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.0008429/0.000843, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009808/0.0009809, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005032, allocations: 14.5 kB / 0.6738 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2401, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.0747/0.3148, allocations: 69.44 MB / 0.8552 GB, free: 6.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.3414, allocations: 14.08 MB / 0.869 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003163/0.3446, allocations: 55.62 kB / 0.869 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.3474, allocations: 0.5627 MB / 0.8696 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008435/0.3559, allocations: 1.973 MB / 0.8715 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.3603, allocations: 0.9792 MB / 0.8724 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00918/0.3695, allocations: 4.777 MB / 0.8771 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.3728, allocations: 1.013 MB / 0.8781 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005039/0.3779, allocations: 1.287 MB / 0.8793 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003556/0.3814, allocations: 1.085 MB / 0.8804 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005605/0.382, allocations: 56 kB / 0.8805 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005036/0.3871, allocations: 0.9237 MB / 0.8814 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007897/0.3879, allocations: 274.8 kB / 0.8816 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.3893, allocations: 352.9 kB / 0.882 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004359/0.3936, allocations: 2.085 MB / 0.884 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.3937, allocations: 0 / 0.884 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3937, allocations: 0 / 0.884 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001091/0.3938, allocations: 0 / 0.884 GB, free: 8.645 MB / 0.7012 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.006012/0.3998, allocations: 1.803 MB / 0.8858 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.782e-05/0.3999, allocations: 8.031 kB / 0.8858 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005532/0.4005, allocations: 151.9 kB / 0.8859 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.4019, allocations: 245.8 kB / 0.8861 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004451/0.4063, allocations: 1.435 MB / 0.8875 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.4065, allocations: 74 kB / 0.8876 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.4068, allocations: 103.9 kB / 0.8877 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/0.4102, allocations: 1.116 MB / 0.8888 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.4102, allocations: 3.984 kB / 0.8888 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.4104, allocations: 40 kB / 0.8888 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.878e-05/0.4105, allocations: 24 kB / 0.8889 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.4127, allocations: 0.929 MB / 0.8898 GB, free: 2.562 MB / 0.7012 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.006273/0.4189, allocations: 4.923 MB / 0.8946 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.4204, allocations: 0.6467 MB / 0.8952 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.4211, allocations: 362.3 kB / 0.8956 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007406/0.4218, allocations: 0.8316 MB / 0.8964 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.4219, allocations: 39.12 kB / 0.8964 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.975e-06/0.4219, allocations: 0 / 0.8964 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006567/0.4285, allocations: 1.888 MB / 0.8983 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.4285, allocations: 59.97 kB / 0.8983 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.4302, allocations: 1.202 MB / 0.8995 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/0.4303, allocations: 41.7 kB / 0.8995 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005421/0.4308, allocations: 0.5987 MB / 0.9001 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.431, allocations: 220.9 kB / 0.9003 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.4311, allocations: 16 kB / 0.9003 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4312, allocations: 334 kB / 0.9007 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/0.4318, allocations: 297.8 kB / 0.9009 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/0.4326, allocations: 0.5046 MB / 0.9014 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/0.4335, allocations: 359 kB / 0.9018 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4335, allocations: 4 kB / 0.9018 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004092/0.4376, allocations: 1.39 MB / 0.9031 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.4377, allocations: 206.2 kB / 0.9033 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4378, allocations: 4 kB / 0.9033 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.4383, allocations: 148.7 kB / 0.9035 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.4389, allocations: 167.8 kB / 0.9036 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008271/0.4398, allocations: 0.7123 MB / 0.9043 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.441, allocations: 171 kB / 0.9045 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/0.4411, allocations: 35.98 kB / 0.9045 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.4411, allocations: 8 kB / 0.9045 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003938/0.4451, allocations: 1.245 MB / 0.9058 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.4451, allocations: 7.938 kB / 0.9058 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.4456, allocations: 149.1 kB / 0.9059 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.4461, allocations: 159.8 kB / 0.9061 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008309/0.447, allocations: 0.7202 MB / 0.9068 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.4482, allocations: 167 kB / 0.9069 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/0.4483, allocations: 35.98 kB / 0.907 GB, free: 204 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008332/0.4491, allocations: 420.9 kB / 0.9074 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.4495, allocations: 134.4 kB / 0.9075 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/0.4538, allocations: 1.396 MB / 0.9088 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.4538, allocations: 4 kB / 0.9089 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4539, allocations: 0 / 0.9089 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003778/0.4576, allocations: 1.236 MB / 0.9101 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006846/0.4645, allocations: 2.735 MB / 0.9127 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.4646, allocations: 4 kB / 0.9127 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.465, allocations: 120.3 kB / 0.9128 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/0.4655, allocations: 148.6 kB / 0.913 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.4656, allocations: 16 kB / 0.913 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004613/0.4702, allocations: 2.482 MB / 0.9154 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.4703, allocations: 4 kB / 0.9154 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005227/0.4755, allocations: 1.848 MB / 0.9172 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009082/0.4764, allocations: 331.2 kB / 0.9176 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/0.4768, allocations: 16 kB / 0.9176 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.478, allocations: 95.84 kB / 0.9177 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.4781, allocations: 64.25 kB / 0.9177 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.4782, allocations: 27.98 kB / 0.9177 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001792/0.48, allocations: 0.8582 MB / 0.9186 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.48, allocations: 0 / 0.9186 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002674/0.4827, allocations: 0.7057 MB / 0.9193 GB, free: 3.164 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006296/0.489, allocations: 2.706 MB / 0.9219 GB, free: 400 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.446/0.935, allocations: 1.155 MB / 0.923 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/0.9351, allocations: 2.062 kB / 0.923 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.937, allocations: 0.602 MB / 0.9236 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/0.9413, allocations: 0.7629 MB / 0.9244 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/0.9606, allocations: 8.343 MB / 0.9325 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.9616, allocations: 1.171 MB / 0.9337 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002015/0.9637, allocations: 308.1 kB / 0.934 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/0.9644, allocations: 0.5102 MB / 0.9345 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/0.9644, allocations: 0 / 0.9345 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07485/1.039, allocations: 42.3 MB / 0.9758 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.04, allocations: 243.5 kB / 0.976 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/3.972, allocations: 0 / 0.976 GB, free: 105.4 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: