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 2.268/2.268, allocations: 387.4 MB / 394.8 MB, free: 13.38 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.001061/0.001061, allocations: 184.6 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.436/1.436, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.0009368/0.0009368, allocations: 93.56 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.938e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2904, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.323, allocations: 150 MB / 1.352 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.324, allocations: 88.03 kB / 1.353 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01957/1.343, allocations: 6.223 MB / 1.359 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.494e-06/1.343, allocations: 4.656 kB / 1.359 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.343, allocations: 0 / 1.359 GB, free: 33.49 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.0005093/1.344, allocations: 368.6 kB / 1.359 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/1.344, allocations: 11.66 kB / 1.359 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/1.344, allocations: 9.688 kB / 1.359 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/1.344, allocations: 164.8 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.344, allocations: 0 / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/1.344, allocations: 3.938 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.618e-05/1.345, allocations: 20.42 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/1.345, allocations: 42.36 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.345, allocations: 3.938 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/1.345, allocations: 3.875 kB / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.345, allocations: 0 / 1.359 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/1.345, allocations: 141.1 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/1.346, allocations: 115.8 kB / 1.359 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/1.346, allocations: 15.8 kB / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/1.346, allocations: 86.95 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/1.346, allocations: 38.41 kB / 1.36 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/1.346, allocations: 0 / 1.36 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002059/1.346, allocations: 54.41 kB / 1.36 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/1.346, allocations: 51.41 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/1.346, allocations: 89.19 kB / 1.36 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/1.346, allocations: 25.7 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/1.346, allocations: 80.14 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/1.346, allocations: 13.28 kB / 1.36 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/1.346, allocations: 0 / 1.36 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.347, allocations: 313.6 kB / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/1.347, allocations: 8.859 kB / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/1.347, allocations: 3.844 kB / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/1.347, allocations: 14.64 kB / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.347, allocations: 0 / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.719e-05/1.347, allocations: 65.55 kB / 1.36 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.347, allocations: 3.844 kB / 1.36 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.347, allocations: 5.266 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.347, allocations: 4 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/1.347, allocations: 16.56 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.347, allocations: 0 / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/1.347, allocations: 0 / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/1.347, allocations: 1.172 kB / 1.36 GB, free: 31.86 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 0.0001155/1.347, allocations: 108.8 kB / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.895e-05/1.347, allocations: 53.56 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/1.347, allocations: 7.25 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/1.348, allocations: 81.72 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/1.348, allocations: 0 / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.348, allocations: 3.938 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.348, allocations: 5.219 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.215e-05/1.348, allocations: 139.8 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.348, allocations: 0 / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/1.348, allocations: 17.22 kB / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/1.348, allocations: 0 / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/1.348, allocations: 0 / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.348, allocations: 0 / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.348, allocations: 0 / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/1.348, allocations: 84.09 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/1.348, allocations: 78.61 kB / 1.361 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/1.348, allocations: 7.766 kB / 1.361 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.235e-05/1.348, allocations: 5.641 kB / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/1.348, allocations: 5.094 kB / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/1.348, allocations: 7.938 kB / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.089e-05/1.348, allocations: 75.28 kB / 1.361 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.348, allocations: 0 / 1.361 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002989/1.348, allocations: 51.92 kB / 1.361 GB, free: 31.23 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.0008031/1.349, allocations: 0.693 MB / 1.362 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001023/1.349, allocations: 27.66 kB / 1.362 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.349, allocations: 0 / 1.362 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/1.349, allocations: 16.81 kB / 1.362 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/1.35, allocations: 9.266 kB / 1.362 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/1.35, allocations: 122.1 kB / 1.362 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/1.35, allocations: 0.6808 MB / 1.363 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.495e-05/1.35, allocations: 15.62 kB / 1.363 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/1.35, allocations: 7.438 kB / 1.363 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.35, allocations: 0 / 1.363 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/1.371, allocations: 1.386 MB / 1.364 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.371, allocations: 182.4 kB / 1.364 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/3.032, allocations: 4 kB / 1.364 GB, free: 29.49 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