Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.0007723/0.0007722, allocations: 86.64 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.000867/0.000867, 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.337/1.337, allocations: 223.2 MB / 240 MB, free: 5.328 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.378/2.378, allocations: 390.4 MB / 0.6655 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 19.98 kB / 0.8149 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.679, allocations: 142.3 MB / 0.9538 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05786/0.7369, allocations: 56.54 MB / 1.009 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.7536, allocations: 11.23 MB / 1.02 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.7555, allocations: 47.69 kB / 1.02 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.7571, allocations: 472.8 kB / 1.021 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.7622, allocations: 1.526 MB / 1.022 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.7647, allocations: 0.8477 MB / 1.023 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004144/0.7689, allocations: 3.394 MB / 1.026 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.7702, allocations: 0.796 MB / 1.027 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.7723, allocations: 1.042 MB / 1.028 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.7735, allocations: 0.7972 MB / 1.029 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.7737, allocations: 40 kB / 1.029 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.7761, allocations: 1.115 MB / 1.03 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.7763, allocations: 203 kB / 1.03 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003868/0.7767, allocations: 281 kB / 1.03 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.7788, allocations: 1.641 MB / 1.032 GB, free: 16 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.7788, allocations: 0 / 1.032 GB, free: 16 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7788, allocations: 0 / 1.032 GB, free: 16 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.7788, allocations: 4 kB / 1.032 GB, free: 12 kB / 0.7794 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.002789/0.7816, allocations: 1.497 MB / 1.033 GB, free: 14.46 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7817, allocations: 8.031 kB / 1.033 GB, free: 14.45 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.7819, allocations: 126.6 kB / 1.034 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.7839, allocations: 477.9 kB / 1.034 GB, free: 13.85 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.786, allocations: 1.095 MB / 1.035 GB, free: 12.7 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.7863, allocations: 125.9 kB / 1.035 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.7865, allocations: 80 kB / 1.035 GB, free: 12.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.7884, allocations: 1.005 MB / 1.036 GB, free: 11.45 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.7885, allocations: 4 kB / 1.036 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.7886, allocations: 32 kB / 1.036 GB, free: 11.41 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.7886, allocations: 23.95 kB / 1.036 GB, free: 11.39 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.7907, allocations: 0.9094 MB / 1.037 GB, free: 10.48 MB / 0.795 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.00632/0.797, allocations: 4.892 MB / 1.042 GB, free: 5.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.8001, allocations: 0.9078 MB / 1.043 GB, free: 4.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006826/0.8008, allocations: 317.8 kB / 1.043 GB, free: 4.008 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.8015, allocations: 0.9064 MB / 1.044 GB, free: 2.898 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.8015, allocations: 38.56 kB / 1.044 GB, free: 2.852 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.284e-06/0.8015, allocations: 0 / 1.044 GB, free: 2.852 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.007637/0.8092, allocations: 2.164 MB / 1.046 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.8092, allocations: 55.41 kB / 1.046 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.8107, allocations: 1.048 MB / 1.047 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.8107, allocations: 41.64 kB / 1.047 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.8112, allocations: 0.5196 MB / 1.048 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.8113, allocations: 153.8 kB / 1.048 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.8114, allocations: 8 kB / 1.048 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8115, allocations: 330 kB / 1.048 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008317/0.8123, allocations: 320.9 kB / 1.049 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009754/0.8133, allocations: 0.533 MB / 1.049 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008479/0.8142, allocations: 359.5 kB / 1.049 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.8142, allocations: 4 kB / 1.049 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002496/0.8167, allocations: 1.043 MB / 1.05 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.8168, allocations: 200.8 kB / 1.051 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8169, allocations: 4 kB / 1.051 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.8181, allocations: 338.9 kB / 1.051 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.8186, allocations: 123.8 kB / 1.051 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.82, allocations: 0.9386 MB / 1.052 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.8212, allocations: 203.2 kB / 1.052 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.8213, allocations: 27.98 kB / 1.052 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.8213, allocations: 5.562 kB / 1.052 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002262/0.8236, allocations: 0.9135 MB / 1.053 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8236, allocations: 8 kB / 1.053 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.8246, allocations: 327.1 kB / 1.053 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.8251, allocations: 127.8 kB / 1.054 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.8265, allocations: 0.9347 MB / 1.054 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.8275, allocations: 171.4 kB / 1.055 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.8276, allocations: 27.98 kB / 1.055 GB, free: 7.699 MB / 0.8106 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.000535/0.8281, allocations: 355.2 kB / 1.055 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.8283, allocations: 110.6 kB / 1.055 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/0.8318, allocations: 1.209 MB / 1.056 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.8318, allocations: 15.94 kB / 1.056 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8318, allocations: 0 / 1.056 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.8319, allocations: 0 / 1.056 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004845/0.8367, allocations: 2.3 MB / 1.059 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.8367, allocations: 4 kB / 1.059 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.837, allocations: 75.88 kB / 1.059 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000988/0.838, allocations: 324.8 kB / 1.059 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.8381, allocations: 15.98 kB / 1.059 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.8395, allocations: 0.9695 MB / 1.06 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.647e-06/0.8395, allocations: 7.953 kB / 1.06 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00337/0.8429, allocations: 1.282 MB / 1.061 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.8433, allocations: 287.4 kB / 1.061 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.8435, allocations: 12 kB / 1.061 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.8443, allocations: 107.9 kB / 1.062 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.8444, allocations: 43.84 kB / 1.062 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.8445, allocations: 19.98 kB / 1.062 GB, free: 396 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001128/0.8456, allocations: 0.735 MB / 1.062 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8456, allocations: 0 / 1.062 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001546/0.8472, allocations: 0.5613 MB / 1.063 GB, free: 15.08 MB / 0.8262 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.004325/0.8515, allocations: 2.088 MB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003048/0.8546, allocations: 1.169 MB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8546, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008524/0.8554, allocations: 378.3 kB / 1.066 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.8577, allocations: 0.499 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.8726, allocations: 6.866 MB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.8733, allocations: 1.069 MB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001044/0.8743, allocations: 220.7 kB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/0.8749, allocations: 411.3 kB / 1.075 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of SimCode: time 7.41e-07/0.8749, allocations: 0 / 1.075 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/0.9337, allocations: 33.44 MB / 1.108 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.934, allocations: 260.6 kB / 1.108 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.49, allocations: 12 kB / 1.108 GB, free: 0.6836 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat does not exist to compare? outputFormat=mat