Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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.001007/0.001007, allocations: 99.86 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.001045/0.001045, 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.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.414/2.414, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003667, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7072, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06035/0.7676, allocations: 63.02 MB / 1.015 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.7854, allocations: 12.99 MB / 1.028 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.7876, allocations: 55.62 kB / 1.028 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.7903, allocations: 0.7462 MB / 1.029 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007371/0.7977, allocations: 2.41 MB / 1.031 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.8024, allocations: 1.532 MB / 1.032 GB, free: 15.27 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005607/0.808, allocations: 2.518 MB / 1.035 GB, free: 12.75 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.81, allocations: 1.041 MB / 1.036 GB, free: 11.68 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.8128, allocations: 1.172 MB / 1.037 GB, free: 10.51 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.8145, allocations: 0.7895 MB / 1.038 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.8147, allocations: 56 kB / 1.038 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.8173, allocations: 0.8542 MB / 1.039 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.8176, allocations: 262.9 kB / 1.039 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004702/0.8181, allocations: 356.9 kB / 1.039 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.8206, allocations: 2.022 MB / 1.041 GB, free: 6.164 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.8206, allocations: 0 / 1.041 GB, free: 6.164 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8206, allocations: 0 / 1.041 GB, free: 6.164 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.66e-05/0.8207, allocations: 0 / 1.041 GB, free: 6.164 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.003425/0.8241, allocations: 1.795 MB / 1.043 GB, free: 4.305 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.8242, allocations: 8.031 kB / 1.043 GB, free: 4.297 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.8244, allocations: 147.9 kB / 1.043 GB, free: 4.145 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007681/0.8252, allocations: 245.9 kB / 1.043 GB, free: 3.902 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.8275, allocations: 1.388 MB / 1.045 GB, free: 2.457 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.8276, allocations: 78 kB / 1.045 GB, free: 2.383 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.8277, allocations: 103.9 kB / 1.045 GB, free: 2.281 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.8297, allocations: 1.108 MB / 1.046 GB, free: 1.137 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.8297, allocations: 3.938 kB / 1.046 GB, free: 1.133 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.8298, allocations: 43.95 kB / 1.046 GB, free: 1.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/0.8299, allocations: 24 kB / 1.046 GB, free: 1.066 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.8318, allocations: 0.929 MB / 1.047 GB, free: 144 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.007031/0.8389, allocations: 4.955 MB / 1.052 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.8404, allocations: 0.6525 MB / 1.052 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/0.8412, allocations: 0.8316 MB / 1.053 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.915e-05/0.8413, allocations: 43.11 kB / 1.053 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=62): time 2.645e-06/0.8413, allocations: 0 / 1.053 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=62): time 0.005096/0.8464, allocations: 1.515 MB / 1.055 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.8464, allocations: 55.97 kB / 1.055 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.8482, allocations: 1.257 MB / 1.056 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.712e-05/0.8483, allocations: 41.7 kB / 1.056 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.8489, allocations: 0.6027 MB / 1.057 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.8491, allocations: 216.9 kB / 1.057 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.8492, allocations: 12 kB / 1.057 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.8493, allocations: 333.9 kB / 1.057 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006829/0.85, allocations: 305.8 kB / 1.058 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008518/0.8509, allocations: 499.8 kB / 1.058 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007683/0.8516, allocations: 371 kB / 1.058 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.8517, allocations: 3.938 kB / 1.058 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004692/0.8564, allocations: 1.39 MB / 1.06 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005517/0.8569, allocations: 1.335 MB / 1.061 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.857, allocations: 4 kB / 1.061 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007376/0.8577, allocations: 164.7 kB / 1.061 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/0.8584, allocations: 159.8 kB / 1.061 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009262/0.8593, allocations: 0.7318 MB / 1.062 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.8606, allocations: 171 kB / 1.062 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/0.8607, allocations: 31.98 kB / 1.062 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.8607, allocations: 4 kB / 1.062 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004342/0.865, allocations: 1.249 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8651, allocations: 4 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/0.8657, allocations: 165.1 kB / 1.064 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.8663, allocations: 155.8 kB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008728/0.8672, allocations: 0.7318 MB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.8684, allocations: 169.2 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.8685, allocations: 28 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006924/0.8692, allocations: 420.9 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.8695, allocations: 134.4 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/0.8742, allocations: 1.393 MB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.8743, allocations: 11.95 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8743, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004117/0.8784, allocations: 1.209 MB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/0.883, allocations: 2.384 MB / 1.07 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.8831, allocations: 4 kB / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.8835, allocations: 124.2 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005899/0.8841, allocations: 152.7 kB / 1.07 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.8842, allocations: 19.98 kB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008693/0.8851, allocations: 0.7278 MB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8851, allocations: 4 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.8882, allocations: 1.656 MB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/0.889, allocations: 355 kB / 1.073 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.8893, allocations: 20.06 kB / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/0.8903, allocations: 95.34 kB / 1.073 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.8904, allocations: 48.33 kB / 1.073 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.8905, allocations: 35.98 kB / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001472/0.8919, allocations: 0.9052 MB / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.892, allocations: 0 / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002045/0.894, allocations: 0.7096 MB / 1.075 GB, free: 2.395 MB / 0.8262 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004435/0.8985, allocations: 3.487 MB / 1.078 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.9012, allocations: 1.157 MB / 1.079 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.9012, allocations: 128 / 1.079 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.9023, allocations: 419.1 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/0.9061, allocations: 0.7445 MB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/0.9141, allocations: 5.793 MB / 1.086 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009679/0.9151, allocations: 1.211 MB / 1.087 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001397/0.9165, allocations: 314.1 kB / 1.088 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007629/0.9173, allocations: 0.511 MB / 1.088 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of SimCode: time 5.01e-07/0.9173, allocations: 0 / 1.088 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07165/0.9889, allocations: 41.94 MB / 1.129 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.9892, allocations: 252.9 kB / 1.129 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/3.883, allocations: 0 / 1.129 GB, free: 10.73 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat does not exist to compare? outputFormat=mat