Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_9_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.001277/0.001276, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001448/0.001448, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.7808, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.0684/0.8493, allocations: 62.99 MB / 1.015 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02038/0.8697, allocations: 12.99 MB / 1.028 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.8727, allocations: 55.62 kB / 1.028 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.8759, allocations: 0.7423 MB / 1.029 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008598/0.8845, allocations: 2.414 MB / 1.031 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004822/0.8893, allocations: 1.526 MB / 1.032 GB, free: 15.3 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006046/0.8954, allocations: 2.521 MB / 1.035 GB, free: 12.78 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.8973, allocations: 1.049 MB / 1.036 GB, free: 11.7 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.8999, allocations: 1.164 MB / 1.037 GB, free: 10.54 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.9013, allocations: 0.7856 MB / 1.038 GB, free: 9.746 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.9015, allocations: 56 kB / 1.038 GB, free: 9.691 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.9042, allocations: 0.8425 MB / 1.039 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.9046, allocations: 258.9 kB / 1.039 GB, free: 8.594 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005883/0.9052, allocations: 352.9 kB / 1.039 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.908, allocations: 2.022 MB / 1.041 GB, free: 6.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.908, allocations: 0 / 1.041 GB, free: 6.215 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.445e-06/0.908, allocations: 4 kB / 1.041 GB, free: 6.211 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.611e-05/0.9081, allocations: 4 kB / 1.041 GB, free: 6.207 MB / 0.795 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.003762/0.9118, allocations: 1.779 MB / 1.043 GB, free: 4.363 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.9119, allocations: 16.03 kB / 1.043 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.9121, allocations: 147.9 kB / 1.043 GB, free: 4.195 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008466/0.913, allocations: 237.9 kB / 1.043 GB, free: 3.961 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.9155, allocations: 1.385 MB / 1.045 GB, free: 2.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.9156, allocations: 74 kB / 1.045 GB, free: 2.449 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.9157, allocations: 103.9 kB / 1.045 GB, free: 2.348 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.9177, allocations: 1.112 MB / 1.046 GB, free: 1.199 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.9177, allocations: 0 / 1.046 GB, free: 1.199 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-05/0.9178, allocations: 43.95 kB / 1.046 GB, free: 1.156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.9179, allocations: 24 kB / 1.046 GB, free: 1.133 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.9197, allocations: 0.929 MB / 1.047 GB, free: 212 kB / 0.795 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.006576/0.9263, allocations: 4.95 MB / 1.052 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.9278, allocations: 0.6409 MB / 1.052 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007497/0.9286, allocations: 0.8238 MB / 1.053 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.9286, allocations: 43.12 kB / 1.053 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.395e-06/0.9286, allocations: 0 / 1.053 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.007221/0.9359, allocations: 1.889 MB / 1.055 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.9359, allocations: 59.95 kB / 1.055 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.9378, allocations: 1.249 MB / 1.056 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.9379, allocations: 41.7 kB / 1.056 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/0.9384, allocations: 0.6104 MB / 1.057 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.9387, allocations: 216.9 kB / 1.057 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.9387, allocations: 15.94 kB / 1.057 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9388, allocations: 330 kB / 1.058 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/0.9395, allocations: 297.8 kB / 1.058 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.9403, allocations: 0.4968 MB / 1.058 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.9411, allocations: 367 kB / 1.059 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.9411, allocations: 0 / 1.059 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004857/0.946, allocations: 1.402 MB / 1.06 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005867/0.9466, allocations: 1.423 MB / 1.061 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.9466, allocations: 4 kB / 1.061 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/0.9472, allocations: 140.7 kB / 1.062 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.9478, allocations: 167.8 kB / 1.062 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008861/0.9487, allocations: 0.7239 MB / 1.062 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.95, allocations: 167 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.819e-05/0.9501, allocations: 31.98 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.9501, allocations: 4 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0044/0.9545, allocations: 1.249 MB / 1.064 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.9546, allocations: 4 kB / 1.064 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/0.9551, allocations: 145.1 kB / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.9557, allocations: 171.7 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008689/0.9566, allocations: 0.7162 MB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.9581, allocations: 167 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.9582, allocations: 35.98 kB / 1.065 GB, free: 12.86 MB / 0.8262 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.0008695/0.9591, allocations: 417 kB / 1.065 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/0.9595, allocations: 134.4 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/0.9645, allocations: 1.404 MB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.9646, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/0.9646, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004227/0.9688, allocations: 1.236 MB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007148/0.976, allocations: 2.766 MB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.976, allocations: 0 / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/0.9766, allocations: 124.2 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/0.9771, allocations: 144.7 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.9771, allocations: 16 kB / 1.071 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.9821, allocations: 2.548 MB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.9821, allocations: 4 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00566/0.9878, allocations: 2.062 MB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.9889, allocations: 347 kB / 1.076 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/0.9892, allocations: 19.98 kB / 1.076 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.9903, allocations: 91.92 kB / 1.076 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.9905, allocations: 64.25 kB / 1.076 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.9906, allocations: 27.98 kB / 1.076 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001584/0.9921, allocations: 0.9013 MB / 1.077 GB, free: 16 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9922, allocations: 0 / 1.077 GB, free: 16 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002972/0.9951, allocations: 0.7213 MB / 1.078 GB, free: 15.29 MB / 0.8419 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.007979/1.003, allocations: 3.855 MB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002963/1.006, allocations: 1.157 MB / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.006, allocations: 4 kB / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/1.008, allocations: 0.5994 MB / 1.083 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/1.012, allocations: 0.7442 MB / 1.084 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/1.02, allocations: 5.937 MB / 1.09 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.021, allocations: 1.214 MB / 1.091 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001555/1.023, allocations: 307 kB / 1.091 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008303/1.024, allocations: 0.511 MB / 1.092 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of SimCode: time 1.643e-06/1.024, allocations: 0 / 1.092 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0796/1.103, allocations: 42.02 MB / 1.133 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/1.103, allocations: 247.7 kB / 1.133 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/3.926, allocations: 0 / 1.133 GB, free: 6.922 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat does not exist to compare? outputFormat=mat