Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.97/1.97, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.0009427/0.0009429, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0007955/0.0007958, allocations: 87.89 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.928e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6637/0.8585, allocations: 150.5 MB / 1.366 GB, free: 3.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.8587, allocations: 77.89 kB / 1.366 GB, free: 3.547 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002681/0.8614, allocations: 0.9914 MB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8614, allocations: 0 / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8614, allocations: 0 / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003135/0.8618, allocations: 341.4 kB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.8618, allocations: 12.03 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.8618, allocations: 34.31 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.8619, allocations: 4 kB / 1.367 GB, free: 2.223 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.862, allocations: 167.8 kB / 1.367 GB, free: 2.02 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.8621, allocations: 3.984 kB / 1.367 GB, free: 2.016 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.8621, allocations: 4 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.187e-05/0.8622, allocations: 37.27 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.8622, allocations: 0 / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.8622, allocations: 0 / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.8622, allocations: 0 / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.8622, allocations: 19.3 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.8625, allocations: 247.5 kB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.8626, allocations: 30.33 kB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.8626, allocations: 12.17 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.8626, allocations: 0 / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.8627, allocations: 30.56 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.8627, allocations: 0 / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001259/0.8628, allocations: 48.92 kB / 1.368 GB, free: 1.535 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.8628, allocations: 57.33 kB / 1.368 GB, free: 1.469 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.8629, allocations: 100.3 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.8629, allocations: 25.7 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.863, allocations: 87.45 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.863, allocations: 3.906 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.863, allocations: 0 / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.8631, allocations: 314.8 kB / 1.368 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.8631, allocations: 11.31 kB / 1.368 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.8631, allocations: 4 kB / 1.368 GB, free: 0.918 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.8632, allocations: 11.56 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.8632, allocations: 0 / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.756e-05/0.8633, allocations: 45.52 kB / 1.368 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.8633, allocations: 7.984 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8633, allocations: 3.625 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.8633, allocations: 0 / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.8634, allocations: 8 kB / 1.368 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8634, allocations: 0.625 kB / 1.368 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.8635, allocations: 19.97 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.8635, allocations: 0.875 kB / 1.368 GB, free: 0.8281 MB / 0.823 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 (2): * Single equations (assignments): 2 * 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.83e-05/0.8635, allocations: 101 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.8636, allocations: 4 kB / 1.369 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.8637, allocations: 62.27 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8637, allocations: 4 kB / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.8637, allocations: 0 / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.8637, allocations: 0 / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.8638, allocations: 160.8 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8638, allocations: 3.938 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.8639, allocations: 15.98 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8639, allocations: 0 / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-06/0.864, allocations: 0 / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.864, allocations: 0 / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.864, allocations: 0 / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.8641, allocations: 150.5 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.8641, allocations: 81.09 kB / 1.369 GB, free: 188 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.8641, allocations: 0 / 1.369 GB, free: 188 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.8642, allocations: 8 kB / 1.369 GB, free: 180 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.8643, allocations: 10.98 kB / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.8643, allocations: 0 / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.8643, allocations: 79.28 kB / 1.369 GB, free: 92 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8643, allocations: 0 / 1.369 GB, free: 92 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001821/0.8645, allocations: 8 kB / 1.369 GB, free: 84 kB / 0.823 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 (3): * Single equations (assignments): 3 * 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.0003369/0.8648, allocations: 0.6794 MB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.838e-05/0.8649, allocations: 18.75 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8649, allocations: 0 / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.8649, allocations: 11.05 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.8651, allocations: 10.69 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.8654, allocations: 90.41 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.8656, allocations: 0.6886 MB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.8656, allocations: 4 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.8657, allocations: 10.75 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of SimCode: time 2.585e-06/0.8657, allocations: 0 / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0102/0.8759, allocations: 1.095 MB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.8761, allocations: 180.5 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.34/2.216, allocations: 3.938 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat