Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.0009341/0.0009342, allocations: 84.38 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.001126/0.001126, 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.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.456/2.456, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003889, allocations: 16 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6577/0.6581, allocations: 146.8 MB / 0.9811 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05347/0.7116, allocations: 56.54 MB / 1.036 GB, free: 13.54 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.7266, allocations: 11.22 MB / 1.047 GB, free: 2.293 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.729, allocations: 55.62 kB / 1.047 GB, free: 2.238 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.7307, allocations: 468.8 kB / 1.048 GB, free: 1.777 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.7354, allocations: 1.53 MB / 1.049 GB, free: 248 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.738, allocations: 0.858 MB / 1.05 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004157/0.7422, allocations: 3.399 MB / 1.053 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.7435, allocations: 0.8105 MB / 1.054 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.7456, allocations: 1.034 MB / 1.055 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.7467, allocations: 0.8127 MB / 1.056 GB, free: 9.293 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.7468, allocations: 44 kB / 1.056 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.749, allocations: 1.099 MB / 1.057 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.7492, allocations: 206.9 kB / 1.057 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.7495, allocations: 277.1 kB / 1.058 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.7513, allocations: 1.648 MB / 1.059 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7513, allocations: 0 / 1.059 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7513, allocations: 3.938 kB / 1.059 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.7514, allocations: 0 / 1.059 GB, free: 6.012 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.002556/0.7539, allocations: 1.516 MB / 1.061 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.754, allocations: 8.031 kB / 1.061 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.7541, allocations: 122.8 kB / 1.061 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.7563, allocations: 0.5057 MB / 1.061 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.7583, allocations: 1.092 MB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.7586, allocations: 133.9 kB / 1.063 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.7587, allocations: 87.89 kB / 1.063 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.7607, allocations: 1.025 MB / 1.064 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.7607, allocations: 3.938 kB / 1.064 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/0.7608, allocations: 32 kB / 1.064 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.7609, allocations: 20 kB / 1.064 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.7632, allocations: 1.007 MB / 1.065 GB, free: 320 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.005595/0.7688, allocations: 4.727 MB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.7725, allocations: 1.114 MB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009639/0.7734, allocations: 443.2 kB / 1.071 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008593/0.7743, allocations: 1.033 MB / 1.072 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.7743, allocations: 46.92 kB / 1.072 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 2.315e-06/0.7744, allocations: 0 / 1.072 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53): time 0.00846/0.7828, allocations: 2.482 MB / 1.074 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.7829, allocations: 59.78 kB / 1.074 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.7841, allocations: 0.9275 MB / 1.075 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.7842, allocations: 37.7 kB / 1.075 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.7846, allocations: 0.5041 MB / 1.076 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.7848, allocations: 185.3 kB / 1.076 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.7848, allocations: 8 kB / 1.076 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7849, allocations: 333.9 kB / 1.076 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009274/0.7859, allocations: 376.9 kB / 1.077 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.7869, allocations: 0.5396 MB / 1.077 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.7879, allocations: 397.9 kB / 1.078 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.7879, allocations: 4 kB / 1.078 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002664/0.7905, allocations: 1.123 MB / 1.079 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.7907, allocations: 160.4 kB / 1.079 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.7907, allocations: 7.953 kB / 1.079 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.7918, allocations: 332.5 kB / 1.079 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.7925, allocations: 143.8 kB / 1.079 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.7939, allocations: 0.9366 MB / 1.08 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.795, allocations: 175.3 kB / 1.08 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/0.7951, allocations: 27.98 kB / 1.08 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.7951, allocations: 8 kB / 1.08 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002389/0.7975, allocations: 1.005 MB / 1.081 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.7975, allocations: 4.312 kB / 1.081 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009651/0.7985, allocations: 320.5 kB / 1.082 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.7991, allocations: 143.8 kB / 1.082 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.8004, allocations: 0.9338 MB / 1.083 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.8015, allocations: 163.5 kB / 1.083 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.8016, allocations: 27.98 kB / 1.083 GB, free: 12.81 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0005516/0.8022, allocations: 362.5 kB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.8024, allocations: 106.7 kB / 1.083 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.8066, allocations: 1.435 MB / 1.085 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.8066, allocations: 11.98 kB / 1.085 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.8066, allocations: 4 kB / 1.085 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.8066, allocations: 0 / 1.085 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005674/0.8123, allocations: 2.541 MB / 1.087 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.8124, allocations: 0 / 1.087 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.8129, allocations: 116 kB / 1.087 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009501/0.8138, allocations: 322.1 kB / 1.088 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.8139, allocations: 20 kB / 1.088 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.8153, allocations: 0.9698 MB / 1.089 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.8153, allocations: 0 / 1.089 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/0.8193, allocations: 1.445 MB / 1.09 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/0.8198, allocations: 299.4 kB / 1.09 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.8201, allocations: 8 kB / 1.09 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009733/0.8211, allocations: 131.8 kB / 1.09 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.8211, allocations: 36.33 kB / 1.09 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.8212, allocations: 31.97 kB / 1.091 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009765/0.8222, allocations: 0.644 MB / 1.091 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8222, allocations: 0 / 1.091 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001561/0.8238, allocations: 0.5652 MB / 1.092 GB, free: 3.602 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004791/0.8286, allocations: 2.267 MB / 1.094 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003635/0.8322, allocations: 1.389 MB / 1.095 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8323, allocations: 0 / 1.095 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.8335, allocations: 496.8 kB / 1.096 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.836, allocations: 0.4969 MB / 1.096 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.8504, allocations: 6.733 MB / 1.103 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.8511, allocations: 1.066 MB / 1.104 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001132/0.8522, allocations: 228.4 kB / 1.104 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006013/0.8528, allocations: 415.3 kB / 1.104 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of SimCode: time 7.42e-07/0.8529, allocations: 0 / 1.104 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06062/0.9135, allocations: 33.19 MB / 1.137 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.9138, allocations: 280.1 kB / 1.137 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.476, allocations: 0 / 1.137 GB, free: 5.137 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat does not exist to compare? outputFormat=mat