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.0009797/0.0009796, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001349/0.001349, allocations: 168.7 kB / 15.95 MB, free: 204 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.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.484/2.484, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004502, allocations: 11.98 kB / 0.8378 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7111, allocations: 146.8 MB / 0.9811 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06032/0.7715, allocations: 56.58 MB / 1.036 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.7873, allocations: 11.23 MB / 1.047 GB, free: 2.312 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.7893, allocations: 55.62 kB / 1.047 GB, free: 2.258 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.7912, allocations: 472.8 kB / 1.048 GB, free: 1.793 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004837/0.796, allocations: 1.53 MB / 1.049 GB, free: 264 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.7988, allocations: 0.8609 MB / 1.05 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004517/0.8033, allocations: 3.409 MB / 1.054 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.8049, allocations: 0.8049 MB / 1.054 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.8074, allocations: 1.046 MB / 1.055 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.8092, allocations: 0.8087 MB / 1.056 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.8095, allocations: 44 kB / 1.056 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.8124, allocations: 1.088 MB / 1.057 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.8128, allocations: 203 kB / 1.057 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006018/0.8134, allocations: 289 kB / 1.058 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.816, allocations: 1.637 MB / 1.059 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.816, allocations: 4 kB / 1.059 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.924e-06/0.816, allocations: 0 / 1.059 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.914e-05/0.8161, allocations: 0 / 1.059 GB, free: 6.031 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.003261/0.8193, allocations: 1.528 MB / 1.061 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.8194, allocations: 8.031 kB / 1.061 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002296/0.8196, allocations: 126.8 kB / 1.061 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.8217, allocations: 469.9 kB / 1.061 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.824, allocations: 1.09 MB / 1.062 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/0.8244, allocations: 129.9 kB / 1.063 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.8246, allocations: 83.95 kB / 1.063 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.8266, allocations: 1.025 MB / 1.064 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.8267, allocations: 3.984 kB / 1.064 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.8267, allocations: 43.94 kB / 1.064 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.8268, allocations: 20 kB / 1.064 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.8291, allocations: 0.9485 MB / 1.065 GB, free: 416 kB / 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.006561/0.8357, allocations: 4.91 MB / 1.069 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.8388, allocations: 0.9097 MB / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/0.8396, allocations: 340.6 kB / 1.071 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/0.8403, allocations: 0.8986 MB / 1.072 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.8403, allocations: 38.56 kB / 1.072 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.374e-06/0.8404, allocations: 0 / 1.072 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.007747/0.8481, allocations: 2.211 MB / 1.074 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.8482, allocations: 59.34 kB / 1.074 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.8498, allocations: 1.052 MB / 1.075 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.8499, allocations: 33.7 kB / 1.075 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.8503, allocations: 0.5312 MB / 1.075 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.8505, allocations: 149.8 kB / 1.075 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.8505, allocations: 8 kB / 1.075 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8507, allocations: 329.9 kB / 1.076 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008943/0.8516, allocations: 344.9 kB / 1.076 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.8526, allocations: 0.5607 MB / 1.077 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009133/0.8536, allocations: 367.8 kB / 1.077 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8536, allocations: 3.938 kB / 1.077 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002632/0.8562, allocations: 1.082 MB / 1.078 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.8564, allocations: 214.4 kB / 1.078 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8564, allocations: 4 kB / 1.078 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.8576, allocations: 329.8 kB / 1.079 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.8582, allocations: 135.8 kB / 1.079 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.8596, allocations: 0.9525 MB / 1.08 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.8608, allocations: 199.3 kB / 1.08 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.8609, allocations: 27.98 kB / 1.08 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.8609, allocations: 7.938 kB / 1.08 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002366/0.8633, allocations: 0.9489 MB / 1.081 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.8633, allocations: 4 kB / 1.081 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009871/0.8643, allocations: 324.9 kB / 1.081 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/0.8649, allocations: 139.8 kB / 1.081 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.8662, allocations: 0.9386 MB / 1.082 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.8673, allocations: 175.4 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.94e-05/0.8674, allocations: 31.98 kB / 1.082 GB, free: 13.33 MB / 0.8419 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.0005183/0.8679, allocations: 349 kB / 1.083 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.8681, allocations: 118.5 kB / 1.083 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/0.8717, allocations: 1.239 MB / 1.084 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.8717, allocations: 8 kB / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.8718, allocations: 0 / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.8718, allocations: 3.984 kB / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005053/0.8768, allocations: 2.336 MB / 1.086 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.8769, allocations: 12.02 kB / 1.086 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.8772, allocations: 71.89 kB / 1.086 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009504/0.8781, allocations: 326.6 kB / 1.087 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.8782, allocations: 16 kB / 1.087 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.8795, allocations: 0.967 MB / 1.088 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8795, allocations: 4.031 kB / 1.088 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003341/0.8829, allocations: 1.31 MB / 1.089 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/0.8834, allocations: 287.4 kB / 1.089 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.8836, allocations: 19.89 kB / 1.089 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000878/0.8845, allocations: 119.9 kB / 1.089 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.8845, allocations: 39.95 kB / 1.089 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.8846, allocations: 23.98 kB / 1.089 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001146/0.8858, allocations: 0.7354 MB / 1.09 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.8858, allocations: 4 kB / 1.09 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001542/0.8873, allocations: 0.5574 MB / 1.091 GB, free: 4.602 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.004242/0.8916, allocations: 2.13 MB / 1.093 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003097/0.8947, allocations: 1.23 MB / 1.094 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.8947, allocations: 0 / 1.094 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008806/0.8956, allocations: 390.5 kB / 1.094 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.8979, allocations: 0.5048 MB / 1.095 GB, free: 320 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.9142, allocations: 6.97 MB / 1.102 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/0.9149, allocations: 1.065 MB / 1.103 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00108/0.916, allocations: 224.6 kB / 1.103 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.9166, allocations: 411.3 kB / 1.103 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of SimCode: time 9.42e-07/0.9166, allocations: 3.938 kB / 1.103 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06232/0.979, allocations: 33.54 MB / 1.136 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000306/0.9793, allocations: 282.5 kB / 1.136 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.587, allocations: 0 / 1.136 GB, free: 5.938 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