Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 180.6 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.000885, allocations: 106.6 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.777e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2627, allocations: 142.3 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.368/4.63, allocations: 1.73 GB / 2.936 GB, free: 127.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/4.631, allocations: 78.27 kB / 2.936 GB, free: 127.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1533/4.784, allocations: 85.19 MB / 3.02 GB, free: 46.58 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/4.784, allocations: 0 / 3.02 GB, free: 46.58 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.305e-05/4.784, allocations: 4 kB / 3.02 GB, free: 46.58 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007599/4.785, allocations: 0.4992 MB / 3.02 GB, free: 46.03 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/4.785, allocations: 8.031 kB / 3.02 GB, free: 46.02 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000744/4.786, allocations: 83.64 kB / 3.02 GB, free: 45.94 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/4.786, allocations: 229.2 kB / 3.02 GB, free: 45.68 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/4.786, allocations: 34.03 kB / 3.021 GB, free: 45.64 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/4.786, allocations: 8 kB / 3.021 GB, free: 45.63 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002056/4.786, allocations: 112.6 kB / 3.021 GB, free: 45.52 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/4.787, allocations: 218.7 kB / 3.021 GB, free: 45.28 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/4.787, allocations: 3.938 kB / 3.021 GB, free: 45.28 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/4.787, allocations: 0 / 3.021 GB, free: 45.28 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/4.787, allocations: 7.984 kB / 3.021 GB, free: 45.27 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/4.788, allocations: 1.13 MB / 3.022 GB, free: 44.07 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/4.789, allocations: 190.7 kB / 3.022 GB, free: 43.88 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/4.789, allocations: 52.86 kB / 3.022 GB, free: 43.82 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/4.789, allocations: 3.984 kB / 3.022 GB, free: 43.82 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/4.789, allocations: 42.56 kB / 3.022 GB, free: 43.77 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/4.789, allocations: 0 / 3.022 GB, free: 43.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.001132/4.79, allocations: 267.1 kB / 3.022 GB, free: 43.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/4.79, allocations: 55.41 kB / 3.023 GB, free: 43.43 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/4.79, allocations: 143.9 kB / 3.023 GB, free: 43.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/4.79, allocations: 29.7 kB / 3.023 GB, free: 43.25 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/4.79, allocations: 143.8 kB / 3.023 GB, free: 43.11 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/4.79, allocations: 35.45 kB / 3.023 GB, free: 43.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/4.79, allocations: 4 kB / 3.023 GB, free: 43.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/4.79, allocations: 318.8 kB / 3.023 GB, free: 42.75 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/4.79, allocations: 52.36 kB / 3.023 GB, free: 42.69 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/4.791, allocations: 118.6 kB / 3.023 GB, free: 42.55 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/4.791, allocations: 55.97 kB / 3.023 GB, free: 42.49 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/4.791, allocations: 0 / 3.023 GB, free: 42.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001087/4.792, allocations: 328 kB / 3.024 GB, free: 42.16 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/4.792, allocations: 6.031 kB / 3.024 GB, free: 42.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/4.792, allocations: 4 kB / 3.024 GB, free: 42.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009971/4.793, allocations: 165.8 kB / 3.024 GB, free: 41.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/4.793, allocations: 39.91 kB / 3.024 GB, free: 41.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/4.796, allocations: 2.892 MB / 3.027 GB, free: 38.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/4.796, allocations: 31.89 kB / 3.027 GB, free: 38.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/4.796, allocations: 11.97 kB / 3.027 GB, free: 38.77 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 9.39e-05/4.796, allocations: 113.9 kB / 3.027 GB, free: 38.65 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001009/4.797, allocations: 259.1 kB / 3.027 GB, free: 38.39 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/4.797, allocations: 27.69 kB / 3.027 GB, free: 38.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/4.798, allocations: 319.6 kB / 3.027 GB, free: 38.04 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/4.798, allocations: 0 / 3.027 GB, free: 38.04 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/4.798, allocations: 7.938 kB / 3.027 GB, free: 38.03 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/4.798, allocations: 0 / 3.027 GB, free: 38.03 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/4.799, allocations: 242 kB / 3.028 GB, free: 37.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/4.799, allocations: 0 / 3.028 GB, free: 37.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/4.799, allocations: 23.98 kB / 3.028 GB, free: 37.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008525/4.8, allocations: 165.7 kB / 3.028 GB, free: 37.56 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/4.8, allocations: 3.984 kB / 3.028 GB, free: 37.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/4.802, allocations: 2.93 MB / 3.031 GB, free: 34.38 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/4.802, allocations: 4.031 kB / 3.031 GB, free: 34.38 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/4.803, allocations: 394.1 kB / 3.031 GB, free: 33.97 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/4.803, allocations: 116.8 kB / 3.031 GB, free: 33.84 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/4.803, allocations: 0 / 3.031 GB, free: 33.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/4.804, allocations: 15.98 kB / 3.031 GB, free: 33.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/4.804, allocations: 27.91 kB / 3.031 GB, free: 33.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/4.804, allocations: 4 kB / 3.031 GB, free: 33.79 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.454e-05/4.804, allocations: 112.1 kB / 3.031 GB, free: 33.68 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.804, allocations: 0 / 3.031 GB, free: 33.68 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000525/4.804, allocations: 107.8 kB / 3.032 GB, free: 33.58 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001905/4.806, allocations: 1.641 MB / 3.033 GB, free: 31.91 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007476/4.807, allocations: 387.7 kB / 3.033 GB, free: 31.51 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/4.807, allocations: 0 / 3.033 GB, free: 31.51 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004837/4.808, allocations: 327.4 kB / 3.034 GB, free: 31.17 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/4.808, allocations: 35.89 kB / 3.034 GB, free: 31.13 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/4.809, allocations: 347.2 kB / 3.034 GB, free: 30.75 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/4.809, allocations: 0.7321 MB / 3.035 GB, free: 30 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001851/4.809, allocations: 33.27 kB / 3.035 GB, free: 29.96 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/4.809, allocations: 55.41 kB / 3.035 GB, free: 29.91 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/4.809, allocations: 0 / 3.035 GB, free: 29.91 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/4.84, allocations: 11.46 MB / 3.046 GB, free: 18.48 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/4.84, allocations: 151 kB / 3.046 GB, free: 18.29 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/6.865, allocations: 0 / 3.046 GB, free: 18.29 MB / 1.151 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat