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.001548/0.001548, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7188/0.7188, 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.576/1.576, allocations: 221.3 MB / 400.4 MB, free: 5.871 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.0008571/0.0008569, allocations: 101.1 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.602e-05/4.614e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1824, allocations: 82.31 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.247/4.429, allocations: 1.69 GB / 2.33 GB, free: 200 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/4.43, allocations: 91.62 kB / 2.33 GB, free: 200 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1307/4.56, allocations: 64.66 MB / 2.393 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.202e-06/4.56, allocations: 0 / 2.393 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.505e-05/4.56, allocations: 8 kB / 2.393 GB, free: 150.2 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.0005426/4.561, allocations: 434.8 kB / 2.394 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/4.561, allocations: 12.03 kB / 2.394 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/4.561, allocations: 38.55 kB / 2.394 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008383/4.562, allocations: 71.83 kB / 2.394 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/4.562, allocations: 212.3 kB / 2.394 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/4.562, allocations: 8 kB / 2.394 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/4.562, allocations: 8.203 kB / 2.394 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/4.562, allocations: 113.5 kB / 2.394 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/4.562, allocations: 7.938 kB / 2.394 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/4.562, allocations: 0 / 2.394 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/4.562, allocations: 4 kB / 2.394 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/4.562, allocations: 67.98 kB / 2.394 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/4.563, allocations: 412.4 kB / 2.395 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/4.563, allocations: 207.7 kB / 2.395 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/4.564, allocations: 48.84 kB / 2.395 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/4.564, allocations: 4 kB / 2.395 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/4.564, allocations: 34.56 kB / 2.395 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/4.564, allocations: 0 / 2.395 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0002433/4.564, allocations: 97.58 kB / 2.395 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/4.564, allocations: 55.36 kB / 2.395 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.711e-05/4.564, allocations: 132.7 kB / 2.395 GB, free: 148 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/4.564, allocations: 25.7 kB / 2.395 GB, free: 148 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/4.564, allocations: 112.2 kB / 2.395 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/4.564, allocations: 23.78 kB / 2.395 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/4.564, allocations: 4 kB / 2.395 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.963e-05/4.564, allocations: 318.8 kB / 2.396 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/4.564, allocations: 27.98 kB / 2.396 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/4.564, allocations: 54.5 kB / 2.396 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/4.564, allocations: 23.98 kB / 2.396 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/4.564, allocations: 0 / 2.396 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001641/4.565, allocations: 109.6 kB / 2.396 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/4.565, allocations: 4 kB / 2.396 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/4.565, allocations: 0 / 2.396 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/4.565, allocations: 8.031 kB / 2.396 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/4.565, allocations: 35.89 kB / 2.396 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/4.565, allocations: 4 kB / 2.396 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/4.565, allocations: 23.94 kB / 2.396 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/4.565, allocations: 8 kB / 2.396 GB, free: 147.2 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 4.65e-05/4.565, allocations: 104.9 kB / 2.396 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/4.565, allocations: 11.91 kB / 2.396 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/4.565, allocations: 16.61 kB / 2.396 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/4.565, allocations: 4 kB / 2.396 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/4.565, allocations: 0 / 2.396 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/4.565, allocations: 0 / 2.396 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/4.566, allocations: 422.2 kB / 2.396 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/4.566, allocations: 0 / 2.396 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/4.566, allocations: 31.97 kB / 2.397 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/4.566, allocations: 4 kB / 2.397 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/4.566, allocations: 0 / 2.397 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/4.566, allocations: 0 / 2.397 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/4.566, allocations: 7.953 kB / 2.397 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/4.566, allocations: 207.8 kB / 2.397 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/4.566, allocations: 88.95 kB / 2.397 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/4.566, allocations: 0 / 2.397 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/4.566, allocations: 27.88 kB / 2.397 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/4.566, allocations: 19.88 kB / 2.397 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/4.566, allocations: 4 kB / 2.397 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.998e-05/4.566, allocations: 114.1 kB / 2.397 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/4.566, allocations: 0 / 2.397 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000411/4.567, allocations: 71.98 kB / 2.397 GB, free: 146 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.001009/4.568, allocations: 1.26 MB / 2.398 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001745/4.568, allocations: 80.03 kB / 2.398 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/4.568, allocations: 0 / 2.398 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/4.568, allocations: 39.98 kB / 2.398 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/4.568, allocations: 23.94 kB / 2.398 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/4.569, allocations: 219.1 kB / 2.399 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/4.569, allocations: 0.7043 MB / 2.399 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001585/4.569, allocations: 28.36 kB / 2.399 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/4.569, allocations: 31.41 kB / 2.399 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/4.569, allocations: 0 / 2.399 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/4.598, allocations: 15.31 MB / 2.414 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/4.598, allocations: 157.8 kB / 2.414 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/6.695, allocations: 3.938 kB / 2.414 GB, free: 128.1 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)