Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_9_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.001204/0.001204, allocations: 99.62 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.001487/0.001487, 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.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004186, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8142, allocations: 142.3 MB / 0.9536 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04951/0.8638, allocations: 51.34 MB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.8792, allocations: 10.32 MB / 1.014 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.8818, allocations: 47.62 kB / 1.014 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.8844, allocations: 0.6335 MB / 1.014 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00731/0.8918, allocations: 1.943 MB / 1.016 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004231/0.896, allocations: 1.315 MB / 1.018 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00429/0.9003, allocations: 1.859 MB / 1.019 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.9022, allocations: 0.8264 MB / 1.02 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.905, allocations: 0.9925 MB / 1.021 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.9063, allocations: 0.6105 MB / 1.022 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002945/0.9066, allocations: 44 kB / 1.022 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.9092, allocations: 0.9907 MB / 1.023 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.9096, allocations: 195.1 kB / 1.023 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.9101, allocations: 285.1 kB / 1.023 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.9125, allocations: 1.598 MB / 1.025 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.9125, allocations: 0 / 1.025 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.993e-06/0.9125, allocations: 0 / 1.025 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.076e-05/0.9126, allocations: 0 / 1.025 GB, free: 7.004 MB / 0.7794 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.003073/0.9156, allocations: 1.489 MB / 1.026 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.9157, allocations: 8.031 kB / 1.026 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.9159, allocations: 122.8 kB / 1.026 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.9184, allocations: 0.5213 MB / 1.027 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.9205, allocations: 1.051 MB / 1.028 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/0.9209, allocations: 129.9 kB / 1.028 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.9211, allocations: 84 kB / 1.028 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.9232, allocations: 1.029 MB / 1.029 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.9233, allocations: 0 / 1.029 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.9234, allocations: 32 kB / 1.029 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.9234, allocations: 23.95 kB / 1.029 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.926, allocations: 1.003 MB / 1.03 GB, free: 1.363 MB / 0.7794 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.00725/0.9333, allocations: 4.732 MB / 1.035 GB, free: 12.29 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/0.9376, allocations: 1.138 MB / 1.036 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009973/0.9386, allocations: 1.021 MB / 1.037 GB, free: 9.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.9387, allocations: 43 kB / 1.037 GB, free: 9.844 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.385e-06/0.9387, allocations: 0 / 1.037 GB, free: 9.844 MB / 0.795 GB Notification: Performance of matching and sorting (n=53): time 0.01006/0.9487, allocations: 2.483 MB / 1.039 GB, free: 7.332 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.9488, allocations: 55.84 kB / 1.039 GB, free: 7.266 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.9505, allocations: 0.9432 MB / 1.04 GB, free: 6.305 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.9506, allocations: 37.7 kB / 1.04 GB, free: 6.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.9511, allocations: 0.5079 MB / 1.041 GB, free: 5.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.9513, allocations: 185.4 kB / 1.041 GB, free: 5.566 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.9514, allocations: 12 kB / 1.041 GB, free: 5.555 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9515, allocations: 333.9 kB / 1.041 GB, free: 5.223 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.9526, allocations: 376.8 kB / 1.042 GB, free: 4.852 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.9539, allocations: 0.5406 MB / 1.042 GB, free: 4.254 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.9551, allocations: 398 kB / 1.043 GB, free: 3.863 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.9551, allocations: 0 / 1.043 GB, free: 3.863 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00335/0.9585, allocations: 1.131 MB / 1.044 GB, free: 2.719 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004837/0.959, allocations: 0.9691 MB / 1.045 GB, free: 1.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.959, allocations: 4 kB / 1.045 GB, free: 1.676 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.9605, allocations: 326.8 kB / 1.045 GB, free: 1.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.9612, allocations: 151.7 kB / 1.045 GB, free: 1.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/0.9628, allocations: 0.9309 MB / 1.046 GB, free: 256 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.9643, allocations: 171.3 kB / 1.046 GB, free: 84 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.9644, allocations: 43.91 kB / 1.046 GB, free: 40 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.9644, allocations: 4 kB / 1.046 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002751/0.9672, allocations: 0.9937 MB / 1.047 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9672, allocations: 4 kB / 1.047 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.9684, allocations: 324.8 kB / 1.048 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.969, allocations: 143.8 kB / 1.048 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.9705, allocations: 0.9254 MB / 1.049 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.9718, allocations: 179.3 kB / 1.049 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/0.9719, allocations: 23.98 kB / 1.049 GB, free: 13.42 MB / 0.8106 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.0006536/0.9726, allocations: 356.9 kB / 1.049 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.9729, allocations: 106.7 kB / 1.049 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004684/0.9776, allocations: 1.447 MB / 1.051 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.9777, allocations: 4 kB / 1.051 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.9777, allocations: 0 / 1.051 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.9777, allocations: 7.984 kB / 1.051 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006502/0.9842, allocations: 2.537 MB / 1.053 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.9843, allocations: 4.031 kB / 1.053 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.9849, allocations: 123.8 kB / 1.053 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.986, allocations: 322.2 kB / 1.054 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/0.9861, allocations: 15.98 kB / 1.054 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.9876, allocations: 0.9698 MB / 1.055 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9877, allocations: 7.875 kB / 1.055 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/0.9923, allocations: 1.53 MB / 1.056 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.9934, allocations: 295.4 kB / 1.056 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.9938, allocations: 12 kB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.9951, allocations: 127.9 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.9953, allocations: 32.39 kB / 1.057 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/0.9954, allocations: 35.86 kB / 1.057 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00119/0.9966, allocations: 0.6674 MB / 1.057 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9966, allocations: 0 / 1.057 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002509/0.9991, allocations: 0.5768 MB / 1.058 GB, free: 4.047 MB / 0.8106 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.006098/1.005, allocations: 2.745 MB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004092/1.009, allocations: 1.385 MB / 1.062 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.009, allocations: 3.938 kB / 1.062 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/1.011, allocations: 496.8 kB / 1.062 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/1.013, allocations: 0.5042 MB / 1.063 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/1.02, allocations: 4.473 MB / 1.067 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007936/1.021, allocations: 1.09 MB / 1.068 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001347/1.022, allocations: 230.1 kB / 1.068 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/1.023, allocations: 411.3 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of SimCode: time 3.577e-06/1.023, allocations: 0 / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/1.08, allocations: 32.9 MB / 1.101 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.08, allocations: 265 kB / 1.101 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.518, allocations: 1.625 kB / 1.101 GB, free: 7.746 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat does not exist to compare? outputFormat=mat