Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7871/0.7871, allocations: 132.2 MB / 422.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.19 kB / 0.5012 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5836, allocations: 80.2 MB / 0.5795 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003398/0.587, allocations: 1.56 MB / 0.581 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000353/0.5874, allocations: 128.3 kB / 0.5811 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.5875, allocations: 0.9062 kB / 0.5811 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.5875, allocations: 1.547 kB / 0.5811 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.5876, allocations: 9.031 kB / 0.5812 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.5879, allocations: 64.73 kB / 0.5812 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.588, allocations: 63.28 kB / 0.5813 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.5882, allocations: 18.42 kB / 0.5813 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.926e-05/0.5882, allocations: 23.25 kB / 0.5813 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.5883, allocations: 23.42 kB / 0.5813 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.5884, allocations: 3.281 kB / 0.5813 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.23e-05/0.5884, allocations: 8.188 kB / 0.5813 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.5884, allocations: 9.609 kB / 0.5814 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.5885, allocations: 25.34 kB / 0.5814 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.5886, allocations: 52.84 kB / 0.5814 GB, free: 3.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5886, allocations: 0 / 0.5814 GB, free: 3.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5886, allocations: 0.5625 kB / 0.5814 GB, free: 3.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.5887, allocations: 0.8125 kB / 0.5814 GB, free: 3.234 MB / 430.1 MB 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.0006343/0.5893, allocations: 374.3 kB / 0.5818 GB, free: 2.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.5894, allocations: 14.72 kB / 0.5818 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.5894, allocations: 40.28 kB / 0.5818 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.5895, allocations: 3.406 kB / 0.5818 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.5896, allocations: 177.8 kB / 0.582 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-05/0.5897, allocations: 29.69 kB / 0.582 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.5897, allocations: 7.312 kB / 0.582 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.59, allocations: 77.39 kB / 0.5821 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.59, allocations: 3.984 kB / 0.5821 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.5901, allocations: 1.578 kB / 0.5821 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5901, allocations: 5.062 kB / 0.5821 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.5903, allocations: 45.2 kB / 0.5822 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007092/0.591, allocations: 318.3 kB / 0.5825 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.5912, allocations: 52.5 kB / 0.5825 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.5913, allocations: 28.3 kB / 0.5826 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.5913, allocations: 1.594 kB / 0.5826 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.5913, allocations: 31.84 kB / 0.5826 GB, free: 2.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.5913, allocations: 0 / 0.5826 GB, free: 2.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004053/0.5918, allocations: 102.9 kB / 0.5827 GB, free: 2.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.5918, allocations: 53.56 kB / 0.5827 GB, free: 2.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/0.5919, allocations: 110.5 kB / 0.5828 GB, free: 1.906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.5919, allocations: 26.58 kB / 0.5829 GB, free: 1.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.592, allocations: 92.22 kB / 0.583 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.592, allocations: 10.03 kB / 0.583 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.592, allocations: 19.09 kB / 0.583 GB, free: 1.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.5921, allocations: 322.2 kB / 0.5833 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.81e-05/0.5922, allocations: 20.27 kB / 0.5833 GB, free: 1.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.5923, allocations: 33.52 kB / 0.5833 GB, free: 1.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.5925, allocations: 66.61 kB / 0.5834 GB, free: 1.379 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5925, allocations: 3.938 kB / 0.5834 GB, free: 1.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002336/0.5928, allocations: 85.53 kB / 0.5835 GB, free: 1.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5928, allocations: 6.078 kB / 0.5835 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5928, allocations: 1.188 kB / 0.5835 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5928, allocations: 1.188 kB / 0.5835 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.593, allocations: 20.66 kB / 0.5835 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.593, allocations: 1 kB / 0.5835 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.5931, allocations: 10.69 kB / 0.5835 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.5931, allocations: 1.812 kB / 0.5835 GB, free: 1.316 MB / 430.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/0.5932, allocations: 117.5 kB / 0.5836 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.5932, allocations: 6.281 kB / 0.5837 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.5932, allocations: 5.375 kB / 0.5837 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.5932, allocations: 2.047 kB / 0.5837 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5933, allocations: 240 / 0.5837 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5933, allocations: 1.156 kB / 0.5837 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.5935, allocations: 182.8 kB / 0.5838 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5935, allocations: 7.984 kB / 0.5838 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.049e-05/0.5936, allocations: 12.94 kB / 0.5839 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5936, allocations: 4 kB / 0.5839 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5936, allocations: 1 kB / 0.5839 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5936, allocations: 0 / 0.5839 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5936, allocations: 0.75 kB / 0.5839 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.5939, allocations: 183.3 kB / 0.584 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.5939, allocations: 82.83 kB / 0.5841 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.594, allocations: 1.984 kB / 0.5841 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.5941, allocations: 10.42 kB / 0.5841 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.5942, allocations: 2.891 kB / 0.5841 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.5942, allocations: 3.141 kB / 0.5841 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.285e-05/0.5942, allocations: 88.2 kB / 0.5842 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5942, allocations: 0 / 0.5842 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.5945, allocations: 8.469 kB / 0.5842 GB, free: 0.6367 MB / 430.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000521/0.595, allocations: 0.7091 MB / 0.5849 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.5953, allocations: 52.38 kB / 0.585 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5953, allocations: 0 / 0.585 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.5954, allocations: 25.44 kB / 0.585 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.5958, allocations: 13.22 kB / 0.585 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5974, allocations: 1.351 MB / 0.5863 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.5978, allocations: 0.6824 MB / 0.587 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.967e-05/0.5978, allocations: 4.484 kB / 0.587 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.5979, allocations: 20.53 kB / 0.587 GB, free: 13.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5979, allocations: 0 / 0.587 GB, free: 13.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.6112, allocations: 1.538 MB / 0.5885 GB, free: 13.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.6115, allocations: 204.3 kB / 0.5887 GB, free: 13.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.372, allocations: 0.5625 kB / 0.5887 GB, free: 13.47 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)