Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_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.001351/0.001351, allocations: 99.62 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.001772/0.001772, 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.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.534/2.534, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5967/0.5971, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.0581/0.6552, allocations: 63.03 MB / 1.042 GB, free: 7.125 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.6716, allocations: 12.98 MB / 1.055 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.6735, allocations: 55.62 kB / 1.055 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.6755, allocations: 0.7462 MB / 1.056 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00596/0.6815, allocations: 2.406 MB / 1.058 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.6852, allocations: 1.525 MB / 1.06 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003425/0.6886, allocations: 2.51 MB / 1.062 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.6898, allocations: 1.045 MB / 1.063 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.6915, allocations: 1.168 MB / 1.064 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008715/0.6924, allocations: 0.7973 MB / 1.065 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.6925, allocations: 55.94 kB / 1.065 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.6943, allocations: 0.8464 MB / 1.066 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.6946, allocations: 262.9 kB / 1.066 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.6949, allocations: 356.9 kB / 1.067 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.6967, allocations: 2.026 MB / 1.069 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6967, allocations: 0 / 1.069 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6967, allocations: 7.938 kB / 1.069 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.6967, allocations: 0 / 1.069 GB, free: 12.29 MB / 0.8262 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.002834/0.6995, allocations: 1.776 MB / 1.07 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6996, allocations: 11.97 kB / 1.07 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.6998, allocations: 151.9 kB / 1.07 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.7004, allocations: 245.9 kB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.7025, allocations: 1.377 MB / 1.072 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/0.7025, allocations: 82 kB / 1.072 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.7027, allocations: 104 kB / 1.072 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.7045, allocations: 1.1 MB / 1.073 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.7045, allocations: 4 kB / 1.073 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/0.7046, allocations: 47.98 kB / 1.073 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.7046, allocations: 31.92 kB / 1.073 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.7064, allocations: 0.9212 MB / 1.074 GB, free: 6.293 MB / 0.8262 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.005271/0.7117, allocations: 4.962 MB / 1.079 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.713, allocations: 0.6548 MB / 1.08 GB, free: 392 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006101/0.7136, allocations: 0.8238 MB / 1.081 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.7137, allocations: 43.12 kB / 1.081 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=62): time 2.304e-06/0.7137, allocations: 4 kB / 1.081 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=62): time 0.004474/0.7182, allocations: 1.518 MB / 1.082 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.7182, allocations: 55.97 kB / 1.082 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.7196, allocations: 1.245 MB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.7197, allocations: 41.7 kB / 1.083 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/0.7202, allocations: 0.6026 MB / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.7204, allocations: 212.9 kB / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.7204, allocations: 16 kB / 1.084 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7205, allocations: 341.9 kB / 1.085 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.7211, allocations: 293.8 kB / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.7219, allocations: 0.4959 MB / 1.085 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.7226, allocations: 363 kB / 1.086 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7226, allocations: 3.938 kB / 1.086 GB, free: 10 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004247/0.7269, allocations: 1.39 MB / 1.087 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004721/0.7274, allocations: 1.333 MB / 1.088 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.7274, allocations: 4 kB / 1.088 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.728, allocations: 164.7 kB / 1.088 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.7286, allocations: 167.7 kB / 1.089 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007899/0.7294, allocations: 0.724 MB / 1.089 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7304, allocations: 172.5 kB / 1.089 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.7305, allocations: 35.98 kB / 1.09 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.7305, allocations: 4 kB / 1.09 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004073/0.7345, allocations: 1.246 MB / 1.091 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7346, allocations: 12.03 kB / 1.091 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.7351, allocations: 168.7 kB / 1.091 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.7356, allocations: 159.8 kB / 1.091 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000742/0.7364, allocations: 0.7254 MB / 1.092 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/0.7373, allocations: 163.2 kB / 1.092 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.7374, allocations: 31.98 kB / 1.092 GB, free: 3.371 MB / 0.8419 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.0005019/0.7379, allocations: 413 kB / 1.092 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.7381, allocations: 134.4 kB / 1.092 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/0.7423, allocations: 1.396 MB / 1.094 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.7423, allocations: 12 kB / 1.094 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7424, allocations: 0 / 1.094 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003826/0.7462, allocations: 1.213 MB / 1.095 GB, free: 152 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.7496, allocations: 2.369 MB / 1.097 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7497, allocations: 4 kB / 1.097 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.7501, allocations: 119.8 kB / 1.097 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/0.7506, allocations: 156.8 kB / 1.098 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.7507, allocations: 20 kB / 1.098 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006983/0.7514, allocations: 0.7161 MB / 1.098 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7514, allocations: 4 kB / 1.098 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.7539, allocations: 1.672 MB / 1.1 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.7543, allocations: 351 kB / 1.1 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.7545, allocations: 20 kB / 1.1 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007837/0.7553, allocations: 84.08 kB / 1.1 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.7554, allocations: 56.33 kB / 1.1 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.7554, allocations: 31.97 kB / 1.1 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00102/0.7565, allocations: 0.9013 MB / 1.101 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.7565, allocations: 0 / 1.101 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001499/0.758, allocations: 0.7173 MB / 1.102 GB, free: 8.57 MB / 0.8575 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.003482/0.7615, allocations: 3.476 MB / 1.105 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.7638, allocations: 1.168 MB / 1.107 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7638, allocations: 4 kB / 1.107 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008291/0.7646, allocations: 411.3 kB / 1.107 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.7675, allocations: 0.7563 MB / 1.108 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.7723, allocations: 5.78 MB / 1.113 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.7729, allocations: 1.204 MB / 1.115 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009564/0.7738, allocations: 318.6 kB / 1.115 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/0.7744, allocations: 0.511 MB / 1.115 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.7744, allocations: 0 / 1.115 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.059/1.834, allocations: 41.91 MB / 1.156 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/1.834, allocations: 252.5 kB / 1.157 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/4.877, allocations: 0 / 1.157 GB, free: 0.9648 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat does not exist to compare? outputFormat=mat