Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.008602/0.008602, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, 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.565/1.565, allocations: 223.2 MB / 406.8 MB, free: 3.137 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.0009214/0.0009214, allocations: 99.2 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004609, allocations: 12 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5681/0.5686, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.7638, allocations: 111.6 MB / 0.7585 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.7641, allocations: 75.95 kB / 0.7586 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004157/0.7682, allocations: 1.524 MB / 0.7601 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7683, allocations: 0 / 0.7601 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.7683, allocations: 4 kB / 0.7601 GB, free: 2.734 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003311/0.7686, allocations: 343.3 kB / 0.7604 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7687, allocations: 12.03 kB / 0.7604 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.7687, allocations: 34.5 kB / 0.7605 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.7689, allocations: 23.88 kB / 0.7605 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.769, allocations: 163 kB / 0.7607 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.7691, allocations: 0 / 0.7607 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.7691, allocations: 4 kB / 0.7607 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.7692, allocations: 41.69 kB / 0.7607 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.7692, allocations: 3.938 kB / 0.7607 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.7692, allocations: 7.938 kB / 0.7607 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.7692, allocations: 0 / 0.7607 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.7693, allocations: 19.98 kB / 0.7607 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.7694, allocations: 161.6 kB / 0.7609 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.7714, allocations: 270.5 kB / 0.7611 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.7714, allocations: 4 kB / 0.7611 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.7714, allocations: 30.56 kB / 0.7612 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.7715, allocations: 4 kB / 0.7612 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001612/0.7716, allocations: 69.89 kB / 0.7612 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.7717, allocations: 51.41 kB / 0.7613 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.99e-05/0.7717, allocations: 85 kB / 0.7614 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.7717, allocations: 25.7 kB / 0.7614 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.7718, allocations: 80.14 kB / 0.7615 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.7718, allocations: 19.73 kB / 0.7615 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.7718, allocations: 4 kB / 0.7615 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7719, allocations: 315 kB / 0.7618 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.7719, allocations: 8 kB / 0.7618 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.772, allocations: 7.984 kB / 0.7618 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.772, allocations: 12 kB / 0.7618 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.772, allocations: 3.953 kB / 0.7618 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.159e-05/0.7721, allocations: 53.64 kB / 0.7619 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7721, allocations: 7.984 kB / 0.7619 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.7721, allocations: 0 / 0.7619 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7721, allocations: 0 / 0.7619 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.7722, allocations: 4 kB / 0.7619 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.7722, allocations: 11.98 kB / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.7723, allocations: 0 / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.7723, allocations: 4 kB / 0.7619 GB, free: 0.668 MB / 0.5261 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 (4): * Single equations (assignments): 4 * 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.512e-05/0.7723, allocations: 105.8 kB / 0.762 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.7723, allocations: 7.953 kB / 0.762 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.7724, allocations: 7.5 kB / 0.762 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7724, allocations: 0 / 0.762 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7724, allocations: 3.984 kB / 0.762 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.7724, allocations: 4 kB / 0.762 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.7725, allocations: 161.6 kB / 0.7622 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7725, allocations: 0 / 0.7622 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.7726, allocations: 7.953 kB / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7726, allocations: 0 / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.7726, allocations: 0 / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7726, allocations: 0 / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.7726, allocations: 0 / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.7727, allocations: 92.91 kB / 0.7623 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.7728, allocations: 85.11 kB / 0.7624 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.7728, allocations: 7.938 kB / 0.7624 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.7729, allocations: 0 / 0.7624 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.7729, allocations: 4 kB / 0.7624 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.7729, allocations: 0 / 0.7624 GB, free: 92 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.7729, allocations: 79.28 kB / 0.7624 GB, free: 12 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7729, allocations: 0 / 0.7624 GB, free: 12 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001666/0.7731, allocations: 8 kB / 0.7625 GB, free: 4 kB / 0.5261 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 (4): * Single equations (assignments): 4 * 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.00036/0.7735, allocations: 0.6164 MB / 0.7631 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.913e-05/0.7736, allocations: 20 kB / 0.7631 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.7736, allocations: 0 / 0.7631 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.7736, allocations: 15.98 kB / 0.7631 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.7738, allocations: 13.05 kB / 0.7631 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.7742, allocations: 170.8 kB / 0.7633 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.7744, allocations: 0.6731 MB / 0.7639 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.295e-05/0.7745, allocations: 19.91 kB / 0.7639 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.7745, allocations: 11.44 kB / 0.764 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.7745, allocations: 0 / 0.764 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.7862, allocations: 1.059 MB / 0.765 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.7864, allocations: 175.9 kB / 0.7652 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.266, allocations: 0 / 0.7652 GB, free: 13.2 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)