Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.0009322/0.0009323, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005844/0.005845, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003762, allocations: 8.281 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.5793, allocations: 153.8 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002063/0.5814, allocations: 1.624 MB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1498/0.7312, allocations: 151.5 MB / 1.173 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.7314, allocations: 4 kB / 1.173 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.7316, allocations: 15.86 kB / 1.173 GB, free: 6.273 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.7319, allocations: 63.53 kB / 1.173 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.7325, allocations: 227.4 kB / 1.173 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.7328, allocations: 263 kB / 1.173 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.733, allocations: 70.89 kB / 1.173 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.7348, allocations: 208.7 kB / 1.173 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.7349, allocations: 83.55 kB / 1.174 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.7349, allocations: 12 kB / 1.174 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.7353, allocations: 175.7 kB / 1.174 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.7353, allocations: 31.84 kB / 1.174 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.7354, allocations: 109.2 kB / 1.174 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.7358, allocations: 263.2 kB / 1.174 GB, free: 4.805 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7358, allocations: 0 / 1.174 GB, free: 4.805 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7358, allocations: 0 / 1.174 GB, free: 4.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7358, allocations: 0 / 1.174 GB, free: 4.805 MB / 0.92 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.0008279/0.7366, allocations: 0.4989 MB / 1.175 GB, free: 4.258 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.7367, allocations: 8.031 kB / 1.175 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.756e-05/0.7367, allocations: 58.53 kB / 1.175 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008636/0.7376, allocations: 79.73 kB / 1.175 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.7379, allocations: 235.2 kB / 1.175 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.738, allocations: 38.03 kB / 1.175 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.7381, allocations: 20 kB / 1.175 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.7386, allocations: 266.6 kB / 1.175 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7386, allocations: 0 / 1.175 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.7387, allocations: 8 kB / 1.175 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7387, allocations: 4 kB / 1.175 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.7392, allocations: 180.3 kB / 1.175 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.7409, allocations: 1.192 MB / 1.177 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007573/0.7417, allocations: 210.6 kB / 1.177 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.7418, allocations: 72.81 kB / 1.177 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.7419, allocations: 4 kB / 1.177 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.7419, allocations: 42.5 kB / 1.177 GB, free: 1.684 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.7419, allocations: 0 / 1.177 GB, free: 1.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.002741/0.7447, allocations: 0.6457 MB / 1.178 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.7447, allocations: 51.41 kB / 1.178 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.745, allocations: 222.8 kB / 1.178 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.745, allocations: 29.7 kB / 1.178 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.7451, allocations: 136 kB / 1.178 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.7451, allocations: 43.44 kB / 1.178 GB, free: 496 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.7452, allocations: 21.7 kB / 1.178 GB, free: 468 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7453, allocations: 330.8 kB / 1.178 GB, free: 128 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.7455, allocations: 79.88 kB / 1.178 GB, free: 48 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.7458, allocations: 138.6 kB / 1.179 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.7463, allocations: 214.6 kB / 1.179 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7463, allocations: 4 kB / 1.179 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001463/0.7478, allocations: 386.2 kB / 1.179 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7478, allocations: 4 kB / 1.179 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.7478, allocations: 7.984 kB / 1.179 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.7489, allocations: 157.8 kB / 1.179 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.7492, allocations: 43.89 kB / 1.179 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/0.7529, allocations: 3.048 MB / 1.182 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.7533, allocations: 27.83 kB / 1.182 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.7533, allocations: 15.98 kB / 1.182 GB, free: 11.67 MB / 0.9356 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.7535, allocations: 125.8 kB / 1.182 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.7535, allocations: 23.66 kB / 1.182 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.7549, allocations: 388.3 kB / 1.183 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7549, allocations: 0 / 1.183 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.7549, allocations: 3.938 kB / 1.183 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7549, allocations: 0 / 1.183 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.7552, allocations: 277.4 kB / 1.183 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7552, allocations: 0 / 1.183 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.7553, allocations: 23.98 kB / 1.183 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000969/0.7563, allocations: 161.5 kB / 1.183 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.7563, allocations: 4 kB / 1.183 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.7597, allocations: 3.084 MB / 1.186 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7597, allocations: 3.938 kB / 1.186 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.761, allocations: 455.2 kB / 1.187 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.7611, allocations: 112.7 kB / 1.187 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.7611, allocations: 8 kB / 1.187 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.7614, allocations: 15.98 kB / 1.187 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.7615, allocations: 15.97 kB / 1.187 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.7616, allocations: 15.94 kB / 1.187 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001805/0.7617, allocations: 163.1 kB / 1.187 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7617, allocations: 0 / 1.187 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004225/0.7622, allocations: 75.94 kB / 1.187 GB, free: 6.371 MB / 0.9356 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001715/0.7639, allocations: 0.983 MB / 1.188 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.765, allocations: 462.6 kB / 1.189 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.765, allocations: 0 / 1.189 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.7657, allocations: 353.3 kB / 1.189 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.7662, allocations: 57.77 kB / 1.189 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.7712, allocations: 2.624 MB / 1.192 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.7715, allocations: 0.7363 MB / 1.192 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000199/0.7717, allocations: 33.89 kB / 1.192 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/0.7718, allocations: 55.41 kB / 1.192 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.7718, allocations: 0 / 1.192 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.7959, allocations: 6.641 MB / 1.199 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/0.7962, allocations: 242.4 kB / 1.199 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.772, allocations: 0 / 1.199 GB, free: 10.19 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat