Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_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.001195/0.001195, allocations: 99.94 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.000973/0.000973, 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.421/1.421, 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 10.0.0-master/package.mo): time 2.473/2.473, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.8189, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04932/0.8683, allocations: 51.35 MB / 1.031 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.8837, allocations: 10.32 MB / 1.041 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.8859, allocations: 51.56 kB / 1.041 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.8882, allocations: 0.6257 MB / 1.042 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006909/0.8951, allocations: 1.95 MB / 1.044 GB, free: 5.812 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/0.8992, allocations: 1.307 MB / 1.045 GB, free: 4.527 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004049/0.9033, allocations: 1.843 MB / 1.047 GB, free: 2.684 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.9046, allocations: 0.8195 MB / 1.048 GB, free: 1.84 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.9068, allocations: 0.977 MB / 1.048 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008549/0.9076, allocations: 0.5949 MB / 1.049 GB, free: 268 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-05/0.9077, allocations: 44 kB / 1.049 GB, free: 224 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.9102, allocations: 0.9985 MB / 1.05 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.9104, allocations: 203.1 kB / 1.05 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.9107, allocations: 293 kB / 1.051 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.9128, allocations: 1.578 MB / 1.052 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.9129, allocations: 0 / 1.052 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9129, allocations: 0 / 1.052 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.9129, allocations: 0 / 1.052 GB, free: 13.14 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00298/0.9159, allocations: 1.489 MB / 1.054 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.9159, allocations: 8.031 kB / 1.054 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.9161, allocations: 122.7 kB / 1.054 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.9182, allocations: 473.9 kB / 1.054 GB, free: 11 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.9201, allocations: 1.047 MB / 1.055 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/0.9205, allocations: 129.9 kB / 1.055 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.9206, allocations: 87.89 kB / 1.055 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.9225, allocations: 1.001 MB / 1.056 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.9226, allocations: 0 / 1.056 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/0.9226, allocations: 32 kB / 1.056 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.9227, allocations: 20 kB / 1.056 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.9249, allocations: 0.9133 MB / 1.057 GB, free: 7.672 MB / 0.8106 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.006283/0.9312, allocations: 4.922 MB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.9344, allocations: 0.9217 MB / 1.063 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/0.9351, allocations: 0.9025 MB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.9352, allocations: 38.56 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.855e-06/0.9352, allocations: 0 / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.008487/0.9437, allocations: 2.153 MB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.9438, allocations: 55.41 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.9455, allocations: 1.071 MB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.974e-05/0.9456, allocations: 37.7 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.946, allocations: 0.5157 MB / 1.068 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.9462, allocations: 157.8 kB / 1.068 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.9463, allocations: 8 kB / 1.068 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.9464, allocations: 330 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008898/0.9473, allocations: 324.9 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.9485, allocations: 0.5176 MB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009616/0.9495, allocations: 355.8 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.9495, allocations: 3.953 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002714/0.9522, allocations: 1.047 MB / 1.07 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006718/0.9529, allocations: 1.582 MB / 1.072 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.9529, allocations: 7.984 kB / 1.072 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.9543, allocations: 334.4 kB / 1.072 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.9548, allocations: 131.7 kB / 1.072 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.9563, allocations: 0.9426 MB / 1.073 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.9578, allocations: 195.2 kB / 1.073 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/0.9579, allocations: 27.98 kB / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.9579, allocations: 4 kB / 1.073 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00239/0.9603, allocations: 0.9059 MB / 1.074 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9603, allocations: 4 kB / 1.074 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.9614, allocations: 339 kB / 1.075 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.9619, allocations: 123.9 kB / 1.075 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.9635, allocations: 0.9386 MB / 1.076 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.9652, allocations: 172.9 kB / 1.076 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.9653, allocations: 31.98 kB / 1.076 GB, free: 3.703 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009425/0.9662, allocations: 353 kB / 1.076 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.9664, allocations: 110.6 kB / 1.076 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.9702, allocations: 1.206 MB / 1.077 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.9703, allocations: 12 kB / 1.077 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.9703, allocations: 0 / 1.077 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.9703, allocations: 3.984 kB / 1.078 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00506/0.9753, allocations: 2.312 MB / 1.08 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.9754, allocations: 0 / 1.08 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.9757, allocations: 67.89 kB / 1.08 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.9767, allocations: 332.8 kB / 1.08 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.9767, allocations: 12 kB / 1.08 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.9781, allocations: 0.975 MB / 1.081 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9781, allocations: 4.031 kB / 1.081 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/0.9816, allocations: 1.397 MB / 1.082 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.9821, allocations: 291.4 kB / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.9822, allocations: 16 kB / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008613/0.9831, allocations: 115.8 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.9832, allocations: 35.91 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.9832, allocations: 23.98 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001102/0.9844, allocations: 0.7506 MB / 1.084 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.353e-06/0.9844, allocations: 0 / 1.084 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00153/0.9859, allocations: 0.5652 MB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004641/0.9906, allocations: 2.831 MB / 1.087 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003041/0.9936, allocations: 1.171 MB / 1.088 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.9936, allocations: 0 / 1.088 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008571/0.9945, allocations: 376.5 kB / 1.088 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.9968, allocations: 494.4 kB / 1.089 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007006/1.004, allocations: 5.786 MB / 1.095 GB, free: 12 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/1.004, allocations: 1.085 MB / 1.096 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0009255/1.005, allocations: 220.4 kB / 1.096 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/1.006, allocations: 411.3 kB / 1.096 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of SimCode: time 1.222e-06/1.006, allocations: 4 kB / 1.096 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.852/2.858, allocations: 33.16 MB / 1.129 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/2.858, allocations: 255.9 kB / 1.129 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/5.621, allocations: 0 / 1.129 GB, free: 13.23 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat does not exist to compare? outputFormat=mat