Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.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.DewPointTemperature,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature",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.294/2.294, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001115/0.001115, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.47/1.47, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 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.0008486/0.0008486, allocations: 102.8 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.144e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9572/1.237, allocations: 151.1 MB / 1.354 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.237, allocations: 71.94 kB / 1.354 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009287/1.247, allocations: 2.796 MB / 1.356 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.824e-06/1.247, allocations: 4 kB / 1.356 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.247, allocations: 0 / 1.356 GB, free: 33.54 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000468/1.247, allocations: 392.6 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.247, allocations: 12.33 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/1.247, allocations: 18.34 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/1.248, allocations: 183.9 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/1.248, allocations: 8.547 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/1.248, allocations: 3.844 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001214/1.248, allocations: 33.5 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/1.248, allocations: 54.23 kB / 1.357 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.248, allocations: 0 / 1.357 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/1.248, allocations: 0 / 1.357 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.248, allocations: 0 / 1.357 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/1.248, allocations: 277.4 kB / 1.357 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/1.248, allocations: 55.86 kB / 1.357 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/1.249, allocations: 22.98 kB / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/1.249, allocations: 0.6094 kB / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/1.249, allocations: 31.22 kB / 1.357 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/1.249, allocations: 4 kB / 1.357 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001795/1.249, allocations: 69.11 kB / 1.357 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/1.249, allocations: 55.25 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/1.249, allocations: 94.12 kB / 1.358 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/1.249, allocations: 26.45 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/1.249, allocations: 89.06 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/1.249, allocations: 18.31 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/1.249, allocations: 0 / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.249, allocations: 324 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/1.249, allocations: 12.09 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/1.249, allocations: 15.3 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/1.249, allocations: 13.31 kB / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.249, allocations: 0 / 1.358 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.222e-05/1.249, allocations: 64.44 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.249, allocations: 8.531 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.249, allocations: 0 / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.249, allocations: 0 / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/1.25, allocations: 113 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/1.251, allocations: 1.349 MB / 1.36 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/1.252, allocations: 13.66 kB / 1.36 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/1.252, allocations: 1.203 kB / 1.36 GB, free: 30.61 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 (5): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/1.252, allocations: 114.5 kB / 1.36 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.764e-05/1.252, allocations: 71.44 kB / 1.36 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/1.252, allocations: 4.547 kB / 1.36 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/1.252, allocations: 111.7 kB / 1.36 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.252, allocations: 11.8 kB / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/1.252, allocations: 2.953 kB / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.252, allocations: 0 / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/1.252, allocations: 160.5 kB / 1.36 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.252, allocations: 3.938 kB / 1.36 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/1.252, allocations: 10.84 kB / 1.36 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003707/1.253, allocations: 44.33 kB / 1.36 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/1.253, allocations: 0 / 1.36 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/1.254, allocations: 1.317 MB / 1.361 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.254, allocations: 0 / 1.361 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/1.254, allocations: 202.3 kB / 1.362 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/1.254, allocations: 77.11 kB / 1.362 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/1.254, allocations: 3.875 kB / 1.362 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/1.254, allocations: 10.53 kB / 1.362 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/1.255, allocations: 18.02 kB / 1.362 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.255, allocations: 0 / 1.362 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.031e-05/1.255, allocations: 93.64 kB / 1.362 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.255, allocations: 0 / 1.362 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002422/1.255, allocations: 11.66 kB / 1.362 GB, free: 28.66 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): 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006164/1.255, allocations: 0.7235 MB / 1.363 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005294/1.256, allocations: 85.94 kB / 1.363 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.256, allocations: 0 / 1.363 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/1.256, allocations: 136.6 kB / 1.363 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/1.257, allocations: 17.84 kB / 1.363 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/1.257, allocations: 141 kB / 1.363 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.257, allocations: 0.6896 MB / 1.364 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.627e-05/1.257, allocations: 11.81 kB / 1.364 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/1.258, allocations: 11.25 kB / 1.364 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.258, allocations: 3.938 kB / 1.364 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/1.279, allocations: 1.592 MB / 1.365 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/1.279, allocations: 154.5 kB / 1.365 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.905, allocations: 0 / 1.365 GB, free: 26.77 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat does not exist to compare? outputFormat=mat