Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.0009655/0.0009654, allocations: 99.7 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.00171/0.00171, 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.491/1.491, 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.513/2.513, allocations: 409.2 MB / 0.6838 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003554, allocations: 12 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8511/0.8514, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04765/0.8991, allocations: 51.4 MB / 1.031 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.9147, allocations: 10.32 MB / 1.041 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.9169, allocations: 51.56 kB / 1.041 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.9189, allocations: 0.6257 MB / 1.042 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006357/0.9253, allocations: 1.955 MB / 1.044 GB, free: 5.816 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.9291, allocations: 1.316 MB / 1.045 GB, free: 4.523 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003631/0.9328, allocations: 1.855 MB / 1.047 GB, free: 2.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.9342, allocations: 0.8247 MB / 1.048 GB, free: 1.82 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.9369, allocations: 0.9847 MB / 1.049 GB, free: 0.832 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.9381, allocations: 0.6066 MB / 1.049 GB, free: 228 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.9382, allocations: 44 kB / 1.049 GB, free: 184 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.941, allocations: 0.9868 MB / 1.05 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.9413, allocations: 203.1 kB / 1.05 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.9416, allocations: 289 kB / 1.051 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.9437, allocations: 1.578 MB / 1.052 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.9437, allocations: 0 / 1.052 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.796e-06/0.9437, allocations: 0 / 1.052 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.9437, allocations: 0 / 1.052 GB, free: 13.12 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002825/0.9465, allocations: 1.512 MB / 1.054 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.9466, allocations: 15.97 kB / 1.054 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.9468, allocations: 122.8 kB / 1.054 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.949, allocations: 465.9 kB / 1.054 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.9511, allocations: 1.055 MB / 1.055 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/0.9515, allocations: 137.9 kB / 1.055 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.9517, allocations: 83.95 kB / 1.055 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.954, allocations: 1.021 MB / 1.056 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.9541, allocations: 3.938 kB / 1.056 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/0.9542, allocations: 32 kB / 1.057 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.9542, allocations: 20 kB / 1.057 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.9568, allocations: 0.9446 MB / 1.057 GB, free: 7.559 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.006485/0.9633, allocations: 4.949 MB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/0.9668, allocations: 0.9175 MB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/0.9674, allocations: 0.9025 MB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.9675, allocations: 42.55 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.963e-06/0.9675, allocations: 0 / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.00856/0.9761, allocations: 2.196 MB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.9761, allocations: 55.41 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.9777, allocations: 1.075 MB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.9778, allocations: 41.64 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.9782, allocations: 0.5196 MB / 1.068 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.9783, allocations: 157.7 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.9784, allocations: 12 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.9785, allocations: 329.9 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009224/0.9794, allocations: 344.9 kB / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.9805, allocations: 0.5499 MB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/0.9814, allocations: 379.8 kB / 1.07 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9815, allocations: 0 / 1.07 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002733/0.9842, allocations: 1.086 MB / 1.071 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005996/0.9848, allocations: 1.664 MB / 1.072 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.9848, allocations: 8 kB / 1.072 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.9861, allocations: 328.6 kB / 1.073 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.9867, allocations: 139.8 kB / 1.073 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.9881, allocations: 0.9327 MB / 1.074 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.9895, allocations: 203.2 kB / 1.074 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/0.9895, allocations: 31.98 kB / 1.074 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.9896, allocations: 5.25 kB / 1.074 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002494/0.9921, allocations: 0.9605 MB / 1.075 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.9921, allocations: 4 kB / 1.075 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.9931, allocations: 325.1 kB / 1.075 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.9937, allocations: 139.8 kB / 1.075 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.9951, allocations: 0.9288 MB / 1.076 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.9963, allocations: 183.3 kB / 1.076 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.9964, allocations: 27.98 kB / 1.076 GB, free: 3.242 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0006185/0.997, allocations: 356.9 kB / 1.077 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.9972, allocations: 110.6 kB / 1.077 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/1.001, allocations: 1.249 MB / 1.078 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.001, allocations: 7.984 kB / 1.078 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.001, allocations: 0 / 1.078 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.001, allocations: 0 / 1.078 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/1.006, allocations: 2.347 MB / 1.08 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.006, allocations: 4 kB / 1.08 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/1.007, allocations: 84.17 kB / 1.08 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/1.008, allocations: 320.6 kB / 1.081 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/1.008, allocations: 15.94 kB / 1.081 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.009, allocations: 0.9711 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.009, allocations: 4 kB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/1.013, allocations: 1.421 MB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/1.013, allocations: 291.4 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/1.014, allocations: 15.98 kB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/1.014, allocations: 119.8 kB / 1.083 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/1.015, allocations: 39.91 kB / 1.084 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/1.015, allocations: 23.98 kB / 1.084 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001082/1.016, allocations: 0.7549 MB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/1.016, allocations: 0 / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001476/1.017, allocations: 0.5691 MB / 1.085 GB, free: 10.31 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.00464/1.022, allocations: 2.867 MB / 1.088 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003172/1.025, allocations: 1.214 MB / 1.089 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.025, allocations: 4 kB / 1.089 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009006/1.026, allocations: 400.5 kB / 1.089 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/1.028, allocations: 0.4971 MB / 1.09 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/1.035, allocations: 5.97 MB / 1.096 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/1.036, allocations: 1.089 MB / 1.097 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0008256/1.036, allocations: 222.5 kB / 1.097 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/1.037, allocations: 411.3 kB / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/1.037, allocations: 0 / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.651/2.688, allocations: 33.25 MB / 1.13 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/2.688, allocations: 271.4 kB / 1.13 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/5.498, allocations: 0 / 1.13 GB, free: 12.3 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat does not exist to compare? outputFormat=mat