Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0101/0.0101, allocations: 170.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9173/0.9173, allocations: 135.2 MB / 151 MB, free: 13.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008338/0.0008336, allocations: 99.33 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003303, allocations: 15.98 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4119, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.333/4.745, allocations: 1.69 GB / 2.339 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003841/4.746, allocations: 86.67 kB / 2.339 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1827/4.928, allocations: 64.75 MB / 2.402 GB, free: 179 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.743e-06/4.928, allocations: 0 / 2.402 GB, free: 179 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.632e-05/4.928, allocations: 0 / 2.402 GB, free: 179 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008528/4.929, allocations: 460.8 kB / 2.403 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/4.929, allocations: 7.844 kB / 2.403 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/4.929, allocations: 46.2 kB / 2.403 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/4.93, allocations: 78.42 kB / 2.403 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/4.931, allocations: 205.8 kB / 2.403 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/4.931, allocations: 7.594 kB / 2.403 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/4.931, allocations: 3.906 kB / 2.403 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/4.931, allocations: 147.9 kB / 2.403 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/4.931, allocations: 0 / 2.403 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/4.931, allocations: 3.812 kB / 2.403 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/4.931, allocations: 3.906 kB / 2.403 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/4.932, allocations: 160.1 kB / 2.404 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/4.933, allocations: 411.8 kB / 2.404 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/4.934, allocations: 266.6 kB / 2.404 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/4.934, allocations: 0 / 2.404 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/4.934, allocations: 34.31 kB / 2.404 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/4.934, allocations: 3.906 kB / 2.404 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001091/4.935, allocations: 240.6 kB / 2.404 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/4.936, allocations: 63.23 kB / 2.405 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/4.936, allocations: 136.6 kB / 2.405 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/4.936, allocations: 25.7 kB / 2.405 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/4.936, allocations: 103.2 kB / 2.405 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/4.936, allocations: 31.67 kB / 2.405 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/4.936, allocations: 7.844 kB / 2.405 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/4.936, allocations: 318.5 kB / 2.405 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/4.936, allocations: 66.3 kB / 2.405 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/4.937, allocations: 96.8 kB / 2.405 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/4.937, allocations: 69.97 kB / 2.405 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/4.937, allocations: 0 / 2.405 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006593/4.938, allocations: 176.2 kB / 2.406 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/4.938, allocations: 3.812 kB / 2.406 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/4.938, allocations: 7.906 kB / 2.406 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/4.938, allocations: 0 / 2.406 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/4.938, allocations: 35.39 kB / 2.406 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/4.938, allocations: 0 / 2.406 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/4.938, allocations: 31.3 kB / 2.406 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/4.938, allocations: 7.953 kB / 2.406 GB, free: 176.7 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001045/4.938, allocations: 123.7 kB / 2.406 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/4.938, allocations: 11.09 kB / 2.406 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/4.939, allocations: 15.88 kB / 2.406 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/4.939, allocations: 0 / 2.406 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/4.939, allocations: 0 / 2.406 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/4.939, allocations: 0 / 2.406 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009884/4.94, allocations: 487.4 kB / 2.406 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/4.94, allocations: 0 / 2.406 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/4.94, allocations: 35.05 kB / 2.406 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/4.94, allocations: 0 / 2.406 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/4.94, allocations: 4 kB / 2.406 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/4.94, allocations: 3.219 kB / 2.406 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/4.94, allocations: 3.953 kB / 2.406 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/4.941, allocations: 288.8 kB / 2.407 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/4.941, allocations: 84.92 kB / 2.407 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/4.941, allocations: 0 / 2.407 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/4.941, allocations: 34.91 kB / 2.407 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/4.941, allocations: 7.859 kB / 2.407 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/4.941, allocations: 3.953 kB / 2.407 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.73e-05/4.941, allocations: 116.4 kB / 2.407 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/4.941, allocations: 0 / 2.407 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006499/4.942, allocations: 76.36 kB / 2.407 GB, free: 175.8 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001977/4.944, allocations: 1.351 MB / 2.408 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006483/4.944, allocations: 139.7 kB / 2.408 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/4.945, allocations: 0 / 2.408 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/4.945, allocations: 81.66 kB / 2.408 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/4.945, allocations: 30.41 kB / 2.408 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/4.947, allocations: 0.8274 MB / 2.409 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/4.948, allocations: 0.708 MB / 2.41 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002569/4.948, allocations: 28.02 kB / 2.41 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/4.948, allocations: 34.27 kB / 2.41 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/4.948, allocations: 4 kB / 2.41 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/4.985, allocations: 13.36 MB / 2.423 GB, free: 167 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/4.985, allocations: 171.5 kB / 2.423 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/7.072, allocations: 3.938 kB / 2.423 GB, free: 166.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)