Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_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.009841/0.009841, allocations: 170.9 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.82/0.82, allocations: 135.2 MB / 151 MB, free: 13.8 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.575/1.575, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001218/0.001218, allocations: 95.94 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005976/0.0005976, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4055, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.611/4.016, allocations: 1.69 GB / 2.339 GB, free: 29.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/4.017, allocations: 87.95 kB / 2.339 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5396/4.556, allocations: 64.75 MB / 2.402 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/4.556, allocations: 0 / 2.402 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.575e-05/4.556, allocations: 4 kB / 2.402 GB, free: 240.4 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.0007149/4.557, allocations: 459 kB / 2.403 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/4.557, allocations: 8.031 kB / 2.403 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/4.557, allocations: 42.55 kB / 2.403 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/4.558, allocations: 75.73 kB / 2.403 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/4.558, allocations: 216.8 kB / 2.403 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/4.558, allocations: 8 kB / 2.403 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/4.558, allocations: 8 kB / 2.403 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/4.559, allocations: 151 kB / 2.403 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/4.559, allocations: 0 / 2.403 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/4.559, allocations: 0 / 2.403 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/4.559, allocations: 0 / 2.403 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/4.559, allocations: 167.8 kB / 2.404 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/4.56, allocations: 428.1 kB / 2.404 GB, free: 238.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/4.561, allocations: 255.7 kB / 2.404 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/4.561, allocations: 3.938 kB / 2.404 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/4.561, allocations: 30.56 kB / 2.404 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/4.561, allocations: 0 / 2.404 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0007681/4.562, allocations: 245.4 kB / 2.404 GB, free: 238.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/4.562, allocations: 59.39 kB / 2.405 GB, free: 238.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/4.562, allocations: 134.7 kB / 2.405 GB, free: 237.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/4.562, allocations: 25.7 kB / 2.405 GB, free: 237.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/4.562, allocations: 100.4 kB / 2.405 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/4.562, allocations: 31.55 kB / 2.405 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/4.562, allocations: 0 / 2.405 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/4.562, allocations: 322.8 kB / 2.405 GB, free: 237.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/4.562, allocations: 67.86 kB / 2.405 GB, free: 237.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/4.562, allocations: 94.45 kB / 2.405 GB, free: 237.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/4.563, allocations: 67.94 kB / 2.405 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/4.563, allocations: 0 / 2.405 GB, free: 237.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004433/4.563, allocations: 185.4 kB / 2.406 GB, free: 237 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/4.563, allocations: 8 kB / 2.406 GB, free: 237 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/4.563, allocations: 0 / 2.406 GB, free: 237 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/4.563, allocations: 0 / 2.406 GB, free: 237 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/4.563, allocations: 39.89 kB / 2.406 GB, free: 237 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/4.563, allocations: 0 / 2.406 GB, free: 237 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/4.564, allocations: 27.89 kB / 2.406 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/4.564, allocations: 0 / 2.406 GB, free: 236.9 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.0001026/4.564, allocations: 121.8 kB / 2.406 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/4.564, allocations: 15.86 kB / 2.406 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/4.564, allocations: 12.7 kB / 2.406 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/4.564, allocations: 8 kB / 2.406 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/4.564, allocations: 0 / 2.406 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/4.564, allocations: 0 / 2.406 GB, free: 236.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007363/4.565, allocations: 486.2 kB / 2.406 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/4.565, allocations: 0 / 2.406 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/4.565, allocations: 39.95 kB / 2.406 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/4.565, allocations: 0 / 2.406 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/4.565, allocations: 3.938 kB / 2.406 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/4.565, allocations: 0 / 2.406 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/4.565, allocations: 0 / 2.406 GB, free: 236.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/4.565, allocations: 283.8 kB / 2.407 GB, free: 235.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/4.565, allocations: 88.95 kB / 2.407 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/4.565, allocations: 4 kB / 2.407 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/4.566, allocations: 27.97 kB / 2.407 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/4.566, allocations: 11.83 kB / 2.407 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/4.566, allocations: 4 kB / 2.407 GB, free: 235.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.17e-05/4.566, allocations: 110.3 kB / 2.407 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/4.566, allocations: 0 / 2.407 GB, free: 235.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000433/4.566, allocations: 75.98 kB / 2.407 GB, free: 235.6 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.001424/4.568, allocations: 1.346 MB / 2.408 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004985/4.568, allocations: 143.8 kB / 2.408 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/4.568, allocations: 4 kB / 2.408 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/4.568, allocations: 75.94 kB / 2.408 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/4.569, allocations: 27.97 kB / 2.408 GB, free: 234 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/4.57, allocations: 0.8256 MB / 2.409 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/4.57, allocations: 0.7043 MB / 2.41 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001524/4.571, allocations: 36.28 kB / 2.41 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/4.571, allocations: 31.42 kB / 2.41 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/4.571, allocations: 0 / 2.41 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/4.595, allocations: 13.37 MB / 2.423 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/4.595, allocations: 180.2 kB / 2.423 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/6.704, allocations: 0 / 2.423 GB, free: 218.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)