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.001215/0.001215, allocations: 174.6 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.7401/0.7401, allocations: 133.4 MB / 146.7 MB, free: 10.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.502/1.502, allocations: 221.3 MB / 400.4 MB, free: 5.785 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.0009061/0.0009061, allocations: 92.97 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.125e-05/5.127e-05, allocations: 3.562 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1674, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6358/0.8032, allocations: 111.6 MB / 0.7494 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.8035, allocations: 76.92 kB / 0.7495 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004293/0.8078, allocations: 1.518 MB / 0.751 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8078, allocations: 0 / 0.751 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.8078, allocations: 0 / 0.751 GB, free: 27.48 MB / 0.5105 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.0003254/0.8082, allocations: 332 kB / 0.7513 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.8082, allocations: 10.55 kB / 0.7513 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.8083, allocations: 34.38 kB / 0.7514 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.8085, allocations: 17.81 kB / 0.7514 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.8086, allocations: 170.8 kB / 0.7515 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.8087, allocations: 7.688 kB / 0.7516 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.8087, allocations: 0 / 0.7516 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.8088, allocations: 46.67 kB / 0.7516 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8088, allocations: 0 / 0.7516 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.8088, allocations: 0 / 0.7516 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8088, allocations: 0 / 0.7516 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.996e-05/0.8089, allocations: 15.16 kB / 0.7516 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.8091, allocations: 160.3 kB / 0.7518 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.8109, allocations: 272.4 kB / 0.752 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.811, allocations: 23.7 kB / 0.752 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.811, allocations: 4 kB / 0.752 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.811, allocations: 34.5 kB / 0.7521 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.811, allocations: 3.844 kB / 0.7521 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001429/0.8112, allocations: 46.59 kB / 0.7521 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.8112, allocations: 57.22 kB / 0.7522 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.8113, allocations: 88.94 kB / 0.7523 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.8113, allocations: 25.7 kB / 0.7523 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.8114, allocations: 84.27 kB / 0.7524 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.8114, allocations: 22.97 kB / 0.7524 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.8114, allocations: 0 / 0.7524 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8116, allocations: 313 kB / 0.7527 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.8116, allocations: 7.5 kB / 0.7527 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.8116, allocations: 11.28 kB / 0.7527 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.8116, allocations: 14.41 kB / 0.7527 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8117, allocations: 3.938 kB / 0.7527 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.101e-05/0.8117, allocations: 50.77 kB / 0.7528 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8118, allocations: 7.688 kB / 0.7528 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.8118, allocations: 4 kB / 0.7528 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8118, allocations: 0 / 0.7528 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/0.8119, allocations: 4.406 kB / 0.7528 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8119, allocations: 2.344 kB / 0.7528 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.8119, allocations: 3.812 kB / 0.7528 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.8119, allocations: 0 / 0.7528 GB, free: 25.89 MB / 0.5105 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 (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 8.589e-05/0.812, allocations: 104.9 kB / 0.7529 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.812, allocations: 8.031 kB / 0.7529 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.8121, allocations: 10.86 kB / 0.7529 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.8121, allocations: 4 kB / 0.7529 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8121, allocations: 0 / 0.7529 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.8121, allocations: 2.531 kB / 0.7529 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.8122, allocations: 154.1 kB / 0.7531 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8122, allocations: 7.672 kB / 0.7531 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.8123, allocations: 7.781 kB / 0.7531 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.8123, allocations: 2.438 kB / 0.7531 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.8123, allocations: 3.938 kB / 0.7531 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8123, allocations: 0 / 0.7531 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8123, allocations: 3.688 kB / 0.7531 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.8124, allocations: 81.02 kB / 0.7532 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.8125, allocations: 87.42 kB / 0.7533 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.8125, allocations: 0 / 0.7533 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.794e-05/0.8126, allocations: 0 / 0.7533 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.8126, allocations: 6.516 kB / 0.7533 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.8126, allocations: 0 / 0.7533 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.026e-05/0.8127, allocations: 77.66 kB / 0.7533 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8127, allocations: 4.094 kB / 0.7533 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001843/0.8129, allocations: 7.656 kB / 0.7533 GB, free: 25.32 MB / 0.5105 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 (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.0004248/0.8133, allocations: 0.6168 MB / 0.754 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.95e-05/0.8134, allocations: 22.31 kB / 0.754 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8134, allocations: 3.938 kB / 0.754 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.009e-05/0.8134, allocations: 18.91 kB / 0.754 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.8136, allocations: 6.156 kB / 0.754 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.814, allocations: 105.8 kB / 0.7541 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.8143, allocations: 0.6757 MB / 0.7548 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.311e-05/0.8143, allocations: 4 kB / 0.7548 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.8144, allocations: 11.28 kB / 0.7548 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/0.8144, allocations: 0 / 0.7548 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.8271, allocations: 1.078 MB / 0.7558 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.8273, allocations: 164 kB / 0.756 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.367, allocations: 0 / 0.756 GB, free: 23.52 MB / 0.5105 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)