Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.978/1.978, allocations: 390.5 MB / 398 MB, free: 10.91 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.0009488/0.0009488, allocations: 188.2 kB / 491.2 MB, free: 1.57 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.233/1.233, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007837/0.0007837, allocations: 103.5 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.352e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2044, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.328/3.532, allocations: 1.731 GB / 2.944 GB, free: 108.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/3.532, allocations: 85.33 kB / 2.944 GB, free: 108.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1451/3.677, allocations: 85.19 MB / 3.027 GB, free: 26.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.222e-06/3.677, allocations: 0 / 3.027 GB, free: 26.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.432e-05/3.678, allocations: 4 kB / 3.027 GB, free: 26.7 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.0007283/3.678, allocations: 0.499 MB / 3.027 GB, free: 26.15 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/3.678, allocations: 8.031 kB / 3.027 GB, free: 26.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007167/3.679, allocations: 87.64 kB / 3.027 GB, free: 26.05 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/3.679, allocations: 218.9 kB / 3.028 GB, free: 25.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/3.679, allocations: 37.97 kB / 3.028 GB, free: 25.76 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/3.679, allocations: 12 kB / 3.028 GB, free: 25.75 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002033/3.68, allocations: 108.6 kB / 3.028 GB, free: 25.64 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/3.68, allocations: 227.3 kB / 3.028 GB, free: 25.39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/3.68, allocations: 0 / 3.028 GB, free: 25.39 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/3.68, allocations: 0 / 3.028 GB, free: 25.39 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/3.68, allocations: 4 kB / 3.028 GB, free: 25.39 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/3.681, allocations: 1.13 MB / 3.029 GB, free: 24.19 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/3.682, allocations: 178.7 kB / 3.029 GB, free: 24.01 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/3.682, allocations: 72.92 kB / 3.029 GB, free: 23.93 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/3.682, allocations: 0 / 3.029 GB, free: 23.93 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/3.682, allocations: 42.56 kB / 3.029 GB, free: 23.88 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/3.682, allocations: 0 / 3.029 GB, free: 23.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.001051/3.683, allocations: 262.9 kB / 3.03 GB, free: 23.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.525e-05/3.683, allocations: 55.41 kB / 3.03 GB, free: 23.55 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/3.683, allocations: 143.1 kB / 3.03 GB, free: 23.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/3.683, allocations: 29.7 kB / 3.03 GB, free: 23.37 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/3.683, allocations: 139.8 kB / 3.03 GB, free: 23.23 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/3.683, allocations: 39.45 kB / 3.03 GB, free: 23.19 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/3.683, allocations: 0 / 3.03 GB, free: 23.19 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.104e-05/3.683, allocations: 322.8 kB / 3.03 GB, free: 22.86 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/3.683, allocations: 48.36 kB / 3.03 GB, free: 22.81 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/3.683, allocations: 117.7 kB / 3.03 GB, free: 22.67 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/3.683, allocations: 64.94 kB / 3.031 GB, free: 22.61 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/3.684, allocations: 7.938 kB / 3.031 GB, free: 22.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001051/3.685, allocations: 319.6 kB / 3.031 GB, free: 22.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/3.685, allocations: 8 kB / 3.031 GB, free: 22.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/3.685, allocations: 224 / 3.031 GB, free: 22.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009562/3.686, allocations: 161.5 kB / 3.031 GB, free: 22.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/3.686, allocations: 47.95 kB / 3.031 GB, free: 22.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/3.688, allocations: 2.883 MB / 3.034 GB, free: 18.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/3.689, allocations: 35.7 kB / 3.034 GB, free: 18.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/3.689, allocations: 15.98 kB / 3.034 GB, free: 18.88 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 6.769e-05/3.689, allocations: 112.9 kB / 3.034 GB, free: 18.76 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009617/3.69, allocations: 255.1 kB / 3.034 GB, free: 18.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/3.69, allocations: 19.77 kB / 3.034 GB, free: 18.48 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009726/3.691, allocations: 320.7 kB / 3.035 GB, free: 18.16 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/3.691, allocations: 7.953 kB / 3.035 GB, free: 18.15 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/3.691, allocations: 0 / 3.035 GB, free: 18.15 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/3.691, allocations: 0 / 3.035 GB, free: 18.15 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/3.691, allocations: 245.8 kB / 3.035 GB, free: 17.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/3.691, allocations: 3.984 kB / 3.035 GB, free: 17.87 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/3.691, allocations: 23.92 kB / 3.035 GB, free: 17.85 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008196/3.692, allocations: 165.5 kB / 3.035 GB, free: 17.68 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/3.692, allocations: 0 / 3.035 GB, free: 17.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/3.694, allocations: 2.934 MB / 3.038 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/3.694, allocations: 8.016 kB / 3.038 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/3.695, allocations: 382.2 kB / 3.038 GB, free: 14.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/3.695, allocations: 108.8 kB / 3.038 GB, free: 13.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/3.695, allocations: 3.984 kB / 3.038 GB, free: 13.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/3.696, allocations: 19.98 kB / 3.038 GB, free: 13.95 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/3.696, allocations: 15.98 kB / 3.038 GB, free: 13.93 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/3.696, allocations: 7.984 kB / 3.038 GB, free: 13.93 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.759e-05/3.696, allocations: 116.8 kB / 3.039 GB, free: 13.81 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/3.696, allocations: 0 / 3.039 GB, free: 13.81 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004392/3.696, allocations: 103.8 kB / 3.039 GB, free: 13.71 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.001753/3.698, allocations: 1.649 MB / 3.04 GB, free: 12.04 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006555/3.699, allocations: 387.7 kB / 3.041 GB, free: 11.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/3.699, allocations: 0 / 3.041 GB, free: 11.64 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004976/3.699, allocations: 327.4 kB / 3.041 GB, free: 11.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/3.699, allocations: 37.11 kB / 3.041 GB, free: 11.27 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/3.7, allocations: 344.5 kB / 3.041 GB, free: 10.89 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/3.7, allocations: 0.7399 MB / 3.042 GB, free: 10.12 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001753/3.701, allocations: 33.3 kB / 3.042 GB, free: 10.09 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/3.701, allocations: 51.42 kB / 3.042 GB, free: 10.04 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/3.701, allocations: 0 / 3.042 GB, free: 10.04 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4717/4.172, allocations: 11.45 MB / 3.053 GB, free: 395.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/4.173, allocations: 154.5 kB / 3.053 GB, free: 395.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/5.957, allocations: 0 / 3.053 GB, free: 395.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat