Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.0009255/0.0009253, allocations: 99.55 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.0009271/0.0009276, allocations: 177.3 kB / 15.94 MB, free: 228 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.424/1.424, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.396/2.396, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 12 kB / 0.8375 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7989/0.7993, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04985/0.8492, allocations: 51.36 MB / 1.031 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.8652, allocations: 10.31 MB / 1.041 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.8677, allocations: 55.56 kB / 1.041 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.8704, allocations: 0.618 MB / 1.042 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007652/0.8781, allocations: 1.95 MB / 1.044 GB, free: 5.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004731/0.8829, allocations: 1.31 MB / 1.045 GB, free: 4.582 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005396/0.8883, allocations: 1.852 MB / 1.047 GB, free: 2.73 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.8907, allocations: 0.8117 MB / 1.048 GB, free: 1.895 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.894, allocations: 0.9731 MB / 1.048 GB, free: 0.918 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.8959, allocations: 0.6066 MB / 1.049 GB, free: 316 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004447/0.8964, allocations: 40 kB / 1.049 GB, free: 276 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003897/0.9003, allocations: 1.006 MB / 1.05 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005944/0.9009, allocations: 191.1 kB / 1.05 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009735/0.9019, allocations: 289 kB / 1.051 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.9056, allocations: 1.59 MB / 1.052 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9056, allocations: 0 / 1.052 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.367e-06/0.9057, allocations: 0 / 1.052 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.754e-05/0.9058, allocations: 0 / 1.052 GB, free: 13.19 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.004288/0.91, allocations: 1.485 MB / 1.054 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.9101, allocations: 8.031 kB / 1.054 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003583/0.9105, allocations: 126.7 kB / 1.054 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.9124, allocations: 382 kB / 1.054 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.9152, allocations: 1.047 MB / 1.055 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/0.9156, allocations: 129.9 kB / 1.055 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.9158, allocations: 83.95 kB / 1.055 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.918, allocations: 0.9621 MB / 1.056 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.918, allocations: 0 / 1.056 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.529e-05/0.9181, allocations: 32 kB / 1.056 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.9181, allocations: 24 kB / 1.056 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.9204, allocations: 0.8509 MB / 1.057 GB, free: 7.91 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.00699/0.9274, allocations: 4.815 MB / 1.062 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.9291, allocations: 0.6054 MB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/0.9307, allocations: 1.396 MB / 1.064 GB, free: 436 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.9308, allocations: 42.56 kB / 1.064 GB, free: 384 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 4.879e-06/0.9308, allocations: 0 / 1.064 GB, free: 384 kB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.008335/0.9391, allocations: 2.04 MB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.9392, allocations: 55.41 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.9409, allocations: 1.063 MB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.126e-05/0.941, allocations: 33.7 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.9415, allocations: 0.5235 MB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.9416, allocations: 145.8 kB / 1.068 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.9417, allocations: 12 kB / 1.068 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9418, allocations: 326 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007456/0.9425, allocations: 284.9 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009088/0.9435, allocations: 498.1 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007863/0.9443, allocations: 319.8 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9443, allocations: 0 / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003495/0.9478, allocations: 1.156 MB / 1.07 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006885/0.9485, allocations: 1.583 MB / 1.072 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.9485, allocations: 4 kB / 1.072 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.9498, allocations: 318 kB / 1.072 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.9503, allocations: 119.8 kB / 1.072 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.9519, allocations: 0.9386 MB / 1.073 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.9534, allocations: 187.2 kB / 1.073 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.9535, allocations: 27.98 kB / 1.073 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.9535, allocations: 5.25 kB / 1.073 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003166/0.9567, allocations: 1.003 MB / 1.074 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.9567, allocations: 11.88 kB / 1.074 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.9579, allocations: 322.1 kB / 1.074 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.9583, allocations: 111.9 kB / 1.075 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.9598, allocations: 0.9367 MB / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.9612, allocations: 165.8 kB / 1.076 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.9613, allocations: 24 kB / 1.076 GB, free: 3.883 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.0006911/0.962, allocations: 356.9 kB / 1.076 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.9623, allocations: 114.6 kB / 1.076 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/0.9662, allocations: 1.156 MB / 1.077 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.9662, allocations: 8 kB / 1.077 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.9663, allocations: 0 / 1.077 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.9663, allocations: 3.984 kB / 1.077 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005561/0.9718, allocations: 2.161 MB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.9719, allocations: 4 kB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.9721, allocations: 56.19 kB / 1.079 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.9732, allocations: 328.5 kB / 1.08 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.9732, allocations: 15.98 kB / 1.08 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.9748, allocations: 0.9798 MB / 1.081 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.9748, allocations: 4.031 kB / 1.081 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/0.9784, allocations: 1.298 MB / 1.082 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000744/0.9791, allocations: 283.5 kB / 1.082 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.9794, allocations: 8 kB / 1.082 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.9805, allocations: 107.8 kB / 1.082 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.9806, allocations: 39.84 kB / 1.082 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-05/0.9807, allocations: 23.98 kB / 1.082 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0015/0.9822, allocations: 0.7467 MB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9822, allocations: 4 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002202/0.9844, allocations: 0.5652 MB / 1.084 GB, free: 11.39 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 (33): * Single equations (assignments): 28 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.005038/0.9895, allocations: 2.742 MB / 1.086 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002912/0.9924, allocations: 1.05 MB / 1.087 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9924, allocations: 0 / 1.087 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007931/0.9932, allocations: 341.1 kB / 1.088 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/0.996, allocations: 0.494 MB / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/1.003, allocations: 5.501 MB / 1.094 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008648/1.004, allocations: 1.089 MB / 1.095 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001147/1.005, allocations: 212.7 kB / 1.095 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006058/1.006, allocations: 415.2 kB / 1.095 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of SimCode: time 1.403e-06/1.006, allocations: 0 / 1.095 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.854/2.859, allocations: 33.19 MB / 1.128 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003086/2.86, allocations: 272.2 kB / 1.128 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/5.727, allocations: 0 / 1.128 GB, free: 14.29 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat does not exist to compare? outputFormat=mat