Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.839/1.839, allocations: 289.7 MB / 302.2 MB, free: 2.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 179.2 kB / 371.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 91.11 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.535e-05/4.552e-05, allocations: 0 / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3018, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9839/1.286, allocations: 139.6 MB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.286, allocations: 74.19 kB / 1.116 GB, free: 44.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006446/1.293, allocations: 2.377 MB / 1.119 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/1.293, allocations: 0 / 1.119 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.067e-06/1.293, allocations: 2.188 kB / 1.119 GB, free: 42.67 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004358/1.293, allocations: 361.6 kB / 1.119 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/1.293, allocations: 12.03 kB / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/1.293, allocations: 33.69 kB / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/1.293, allocations: 12.25 kB / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/1.293, allocations: 168.7 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.84e-05/1.294, allocations: 39.41 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/1.294, allocations: 3.938 kB / 1.119 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/1.294, allocations: 55.27 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.294, allocations: 1.734 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/1.294, allocations: 7.75 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.294, allocations: 8.078 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/1.294, allocations: 18.69 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/1.294, allocations: 313.7 kB / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.824e-05/1.294, allocations: 37.83 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/1.295, allocations: 16.05 kB / 1.12 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/1.295, allocations: 4 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.295, allocations: 33.75 kB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.474e-06/1.295, allocations: 6.328 kB / 1.12 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002043/1.295, allocations: 55.17 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/1.295, allocations: 55.36 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/1.295, allocations: 104 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/1.295, allocations: 28.64 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/1.295, allocations: 87.27 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/1.295, allocations: 15.03 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/1.295, allocations: 7.562 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.819e-05/1.295, allocations: 310.8 kB / 1.12 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/1.295, allocations: 7.812 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/1.295, allocations: 29.95 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/1.295, allocations: 11.94 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.295, allocations: 3.938 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.492e-05/1.295, allocations: 59.64 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.295, allocations: 4 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.295, allocations: 0.9375 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.295, allocations: 4 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/1.295, allocations: 15.42 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/1.295, allocations: 8.516 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/1.296, allocations: 19.83 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/1.296, allocations: 0 / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 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 prepare postOptimizeDAE: time 5.769e-05/1.296, allocations: 109.6 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/1.296, allocations: 0.8906 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/1.296, allocations: 7.656 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.296, allocations: 7.375 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.296, allocations: 4.594 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.296, allocations: 4.5 kB / 1.121 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/1.296, allocations: 170.8 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.296, allocations: 0 / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/1.296, allocations: 16 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.296, allocations: 0 / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/1.296, allocations: 2.75 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.296, allocations: 4.656 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.296, allocations: 0.6875 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/1.296, allocations: 161.1 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/1.296, allocations: 82.03 kB / 1.121 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/1.296, allocations: 4 kB / 1.121 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.296, allocations: 11.52 kB / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/1.296, allocations: 4 kB / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/1.296, allocations: 5.016 kB / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.864e-05/1.296, allocations: 91.64 kB / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/1.296, allocations: 0 / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002231/1.297, allocations: 14.75 kB / 1.121 GB, free: 40 MB / 0.7448 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 (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 Backend phase and start with SimCode phase: time 0.0003892/1.297, allocations: 0.6862 MB / 1.122 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.862e-05/1.297, allocations: 26.5 kB / 1.122 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.297, allocations: 4.812 kB / 1.122 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/1.297, allocations: 15.38 kB / 1.122 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/1.297, allocations: 5.156 kB / 1.122 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/1.298, allocations: 110.8 kB / 1.122 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/1.298, allocations: 0.6884 MB / 1.123 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.508e-05/1.298, allocations: 12.03 kB / 1.123 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/1.298, allocations: 18.19 kB / 1.123 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/1.298, allocations: 0 / 1.123 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/1.311, allocations: 1.477 MB / 1.124 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/1.311, allocations: 158.3 kB / 1.124 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.952, allocations: 0 / 1.124 GB, free: 37.41 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)