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.001571/0.001571, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7158/0.7158, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.509/1.509, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009042, allocations: 101.1 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.31e-05, allocations: 3.281 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1834, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.021/4.204, allocations: 1.69 GB / 2.33 GB, free: 246.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/4.204, allocations: 83.95 kB / 2.33 GB, free: 246.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.149/4.353, allocations: 64.66 MB / 2.393 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.393e-06/4.353, allocations: 0 / 2.393 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.838e-05/4.353, allocations: 0 / 2.393 GB, free: 180.6 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.0008661/4.354, allocations: 442.9 kB / 2.394 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.889e-05/4.354, allocations: 8.031 kB / 2.394 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.374e-05/4.354, allocations: 42.55 kB / 2.394 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/4.356, allocations: 63.83 kB / 2.394 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/4.356, allocations: 217 kB / 2.394 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/4.356, allocations: 4 kB / 2.394 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/4.356, allocations: 16.2 kB / 2.394 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/4.356, allocations: 106.5 kB / 2.394 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/4.356, allocations: 3.938 kB / 2.394 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/4.356, allocations: 12 kB / 2.394 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/4.356, allocations: 0 / 2.394 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/4.357, allocations: 71.92 kB / 2.394 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009071/4.358, allocations: 412.4 kB / 2.395 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/4.358, allocations: 199.8 kB / 2.395 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/4.358, allocations: 56.78 kB / 2.395 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/4.358, allocations: 0 / 2.395 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/4.358, allocations: 30.56 kB / 2.395 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/4.358, allocations: 0 / 2.395 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0003354/4.359, allocations: 105.7 kB / 2.395 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/4.359, allocations: 59.36 kB / 2.395 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/4.359, allocations: 132.5 kB / 2.395 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/4.359, allocations: 33.7 kB / 2.395 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/4.359, allocations: 104.2 kB / 2.395 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/4.359, allocations: 27.78 kB / 2.395 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/4.359, allocations: 0 / 2.395 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/4.359, allocations: 318.8 kB / 2.396 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/4.359, allocations: 23.98 kB / 2.396 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/4.359, allocations: 50.64 kB / 2.396 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.304e-05/4.359, allocations: 36.16 kB / 2.396 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/4.359, allocations: 0 / 2.396 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000234/4.36, allocations: 105.4 kB / 2.396 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/4.36, allocations: 8 kB / 2.396 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/4.36, allocations: 0 / 2.396 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/4.36, allocations: 0 / 2.396 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/4.36, allocations: 39.95 kB / 2.396 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/4.36, allocations: 0 / 2.396 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/4.36, allocations: 27.94 kB / 2.396 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/4.36, allocations: 0 / 2.396 GB, free: 177.6 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 () * 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 6.72e-05/4.36, allocations: 112.9 kB / 2.396 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/4.36, allocations: 7.906 kB / 2.396 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/4.36, allocations: 20.61 kB / 2.396 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/4.36, allocations: 0 / 2.396 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/4.36, allocations: 0 / 2.396 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/4.36, allocations: 0 / 2.396 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/4.361, allocations: 418.2 kB / 2.396 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/4.361, allocations: 0 / 2.396 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/4.361, allocations: 35.97 kB / 2.397 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/4.361, allocations: 0 / 2.397 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/4.361, allocations: 0 / 2.397 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/4.361, allocations: 0 / 2.397 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/4.361, allocations: 3.953 kB / 2.397 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/4.361, allocations: 211.3 kB / 2.397 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/4.362, allocations: 85.02 kB / 2.397 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/4.362, allocations: 7.938 kB / 2.397 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/4.362, allocations: 31.88 kB / 2.397 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/4.362, allocations: 11.94 kB / 2.397 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/4.362, allocations: 4 kB / 2.397 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.167e-05/4.362, allocations: 113.9 kB / 2.397 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/4.362, allocations: 0 / 2.397 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004582/4.362, allocations: 71.98 kB / 2.397 GB, free: 176.4 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 () * 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.001197/4.364, allocations: 1.264 MB / 2.398 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001923/4.364, allocations: 67.97 kB / 2.398 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/4.364, allocations: 4 kB / 2.398 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/4.364, allocations: 39.92 kB / 2.398 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/4.364, allocations: 35.94 kB / 2.398 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/4.365, allocations: 207.1 kB / 2.399 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/4.365, allocations: 0.7004 MB / 2.399 GB, free: 174 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001635/4.365, allocations: 28.36 kB / 2.399 GB, free: 174 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/4.365, allocations: 31.41 kB / 2.399 GB, free: 174 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/4.365, allocations: 0 / 2.399 GB, free: 174 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/4.393, allocations: 15.32 MB / 2.414 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/4.394, allocations: 165.9 kB / 2.414 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/6.501, allocations: 0 / 2.414 GB, free: 158.6 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)