Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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 1.956/1.956, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.0008825/0.0008825, allocations: 184.8 kB / 492.3 MB, free: 0.6211 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.21/1.21, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0007984/0.000798, allocations: 93.77 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.488e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1839, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6561/0.8401, allocations: 150.6 MB / 1.36 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.8403, allocations: 86.2 kB / 1.36 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01613/0.8565, allocations: 6.251 MB / 1.366 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8565, allocations: 0 / 1.366 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.8565, allocations: 0 / 1.366 GB, free: 34.18 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003296/0.8569, allocations: 369.1 kB / 1.366 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8569, allocations: 11.75 kB / 1.366 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.857, allocations: 30.56 kB / 1.366 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.8571, allocations: 7.484 kB / 1.366 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.323e-05/0.8572, allocations: 170.9 kB / 1.366 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.8572, allocations: 0 / 1.366 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.8573, allocations: 7.844 kB / 1.366 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.8574, allocations: 49.73 kB / 1.366 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.8574, allocations: 0 / 1.366 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.8574, allocations: 0 / 1.366 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.8574, allocations: 0 / 1.366 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.8575, allocations: 18.97 kB / 1.366 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.8576, allocations: 159.7 kB / 1.367 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/0.8583, allocations: 126.6 kB / 1.367 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.8584, allocations: 23.08 kB / 1.367 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.258e-05/0.8585, allocations: 80.98 kB / 1.367 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.8585, allocations: 37.14 kB / 1.367 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.8585, allocations: 0 / 1.367 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001258/0.8586, allocations: 50.55 kB / 1.367 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.8587, allocations: 55.34 kB / 1.367 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.296e-05/0.8587, allocations: 88.25 kB / 1.367 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.8587, allocations: 25.83 kB / 1.367 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.8587, allocations: 84.14 kB / 1.367 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.8588, allocations: 10.41 kB / 1.367 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.8588, allocations: 3.5 kB / 1.367 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.8589, allocations: 310.8 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.8589, allocations: 11.09 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/0.8589, allocations: 11.2 kB / 1.367 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.8589, allocations: 11.11 kB / 1.367 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8589, allocations: 0 / 1.367 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.275e-05/0.859, allocations: 61.86 kB / 1.367 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.859, allocations: 7.75 kB / 1.367 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8591, allocations: 0 / 1.367 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.8591, allocations: 0 / 1.367 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.8591, allocations: 11.69 kB / 1.368 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8591, allocations: 0 / 1.368 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.8592, allocations: 0 / 1.368 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.8592, allocations: 3.938 kB / 1.368 GB, free: 32.48 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.8592, allocations: 118.2 kB / 1.368 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.8592, allocations: 3.562 kB / 1.368 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.8594, allocations: 74.47 kB / 1.368 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8594, allocations: 0 / 1.368 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8595, allocations: 0 / 1.368 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8595, allocations: 2.547 kB / 1.368 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.602e-05/0.8595, allocations: 163.6 kB / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8595, allocations: 8.141 kB / 1.368 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.8596, allocations: 14.56 kB / 1.368 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8596, allocations: 0 / 1.368 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.8596, allocations: 3.984 kB / 1.368 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8596, allocations: 0 / 1.368 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8596, allocations: 0 / 1.368 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.359e-05/0.8597, allocations: 89.12 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.8598, allocations: 84.02 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.8598, allocations: 7.844 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.8598, allocations: 3.562 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.8598, allocations: 2.812 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.8598, allocations: 3.875 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.235e-05/0.8599, allocations: 75.28 kB / 1.368 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8599, allocations: 0 / 1.368 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002255/0.8601, allocations: 56.19 kB / 1.368 GB, free: 31.87 MB / 0.8386 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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004902/0.8606, allocations: 0.7042 MB / 1.369 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.948e-05/0.8607, allocations: 29.67 kB / 1.369 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.8607, allocations: 3.938 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.8607, allocations: 19.91 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.8608, allocations: 5.203 kB / 1.369 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.8611, allocations: 131.4 kB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.8613, allocations: 0.6792 MB / 1.37 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.946e-05/0.8614, allocations: 10.69 kB / 1.37 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.8614, allocations: 11.31 kB / 1.37 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/0.8615, allocations: 0 / 1.37 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.8726, allocations: 1.675 MB / 1.371 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.8728, allocations: 209.6 kB / 1.372 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/2.31, allocations: 1.125 kB / 1.372 GB, free: 29.99 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat does not exist to compare? outputFormat=mat