Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.001006/0.001006, allocations: 180.7 kB / 7.649 MB, free: 1.391 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7364/0.7364, allocations: 133.6 MB / 141.6 MB, free: 2.949 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009371/0.000937, allocations: 100.4 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.932e-05, allocations: 4 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4726, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.026/4.498, allocations: 1.675 GB / 2.309 GB, free: 98.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/4.499, allocations: 87.95 kB / 2.309 GB, free: 98.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05163/4.55, allocations: 26.17 MB / 2.335 GB, free: 72.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.774e-06/4.55, allocations: 0 / 2.335 GB, free: 72.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.977e-06/4.55, allocations: 0 / 2.335 GB, free: 72.44 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003207/4.551, allocations: 350.4 kB / 2.335 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/4.551, allocations: 12.03 kB / 2.335 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/4.551, allocations: 39.81 kB / 2.335 GB, free: 72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/4.551, allocations: 163.1 kB / 2.335 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/4.551, allocations: 0 / 2.335 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/4.551, allocations: 4 kB / 2.335 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.557e-05/4.552, allocations: 15.92 kB / 2.335 GB, free: 71.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.594e-05/4.552, allocations: 41.61 kB / 2.335 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/4.552, allocations: 0 / 2.335 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/4.552, allocations: 3.953 kB / 2.335 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/4.552, allocations: 4 kB / 2.335 GB, free: 71.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/4.552, allocations: 221.5 kB / 2.336 GB, free: 71.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/4.552, allocations: 26.58 kB / 2.336 GB, free: 71.44 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/4.552, allocations: 8.922 kB / 2.336 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/4.552, allocations: 3.984 kB / 2.336 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/4.552, allocations: 30.66 kB / 2.336 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/4.552, allocations: 0 / 2.336 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001364/4.552, allocations: 49.58 kB / 2.336 GB, free: 71.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/4.552, allocations: 55.44 kB / 2.336 GB, free: 71.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/4.552, allocations: 97 kB / 2.336 GB, free: 71.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/4.552, allocations: 25.7 kB / 2.336 GB, free: 71.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/4.552, allocations: 91.97 kB / 2.336 GB, free: 71.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-06/4.552, allocations: 3.906 kB / 2.336 GB, free: 71.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/4.552, allocations: 4 kB / 2.336 GB, free: 71.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.927e-05/4.552, allocations: 318.8 kB / 2.336 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/4.553, allocations: 4 kB / 2.336 GB, free: 70.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/4.553, allocations: 11.92 kB / 2.336 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/4.553, allocations: 4 kB / 2.336 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/4.553, allocations: 4 kB / 2.336 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.22e-05/4.553, allocations: 49.67 kB / 2.336 GB, free: 70.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/4.553, allocations: 4 kB / 2.336 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/4.553, allocations: 0 / 2.336 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/4.553, allocations: 0 / 2.336 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/4.553, allocations: 19.92 kB / 2.336 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/4.553, allocations: 3.953 kB / 2.336 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/4.553, allocations: 8 kB / 2.336 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/4.553, allocations: 3.984 kB / 2.336 GB, free: 70.59 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 (3): * Single equations (assignments): 3 * 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 5.819e-05/4.553, allocations: 105 kB / 2.337 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.848e-05/4.553, allocations: 37.7 kB / 2.337 GB, free: 70.44 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/4.553, allocations: 0 / 2.337 GB, free: 70.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/4.553, allocations: 3.75 kB / 2.337 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/4.553, allocations: 3.953 kB / 2.337 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/4.553, allocations: 11.92 kB / 2.337 GB, free: 70.42 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/4.553, allocations: 4.031 kB / 2.337 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/4.553, allocations: 122.2 kB / 2.337 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/4.553, allocations: 7.984 kB / 2.337 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/4.553, allocations: 0 / 2.337 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/4.553, allocations: 0 / 2.337 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/4.553, allocations: 0 / 2.337 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/4.553, allocations: 4 kB / 2.337 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/4.553, allocations: 3.938 kB / 2.337 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.426e-05/4.554, allocations: 139.4 kB / 2.337 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/4.554, allocations: 85.09 kB / 2.337 GB, free: 69.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/4.554, allocations: 4 kB / 2.337 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/4.554, allocations: 3.984 kB / 2.337 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/4.554, allocations: 0 / 2.337 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/4.554, allocations: 0 / 2.337 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.116e-05/4.554, allocations: 91.23 kB / 2.337 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/4.554, allocations: 0 / 2.337 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003123/4.554, allocations: 39.98 kB / 2.337 GB, free: 69.85 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 (2): * Single equations (assignments): 2 * 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.0009454/4.555, allocations: 1.223 MB / 2.338 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.843e-05/4.555, allocations: 11.98 kB / 2.338 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/4.555, allocations: 4 kB / 2.338 GB, free: 68.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-06/4.555, allocations: 8 kB / 2.338 GB, free: 68.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/4.555, allocations: 9.828 kB / 2.338 GB, free: 68.58 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/4.556, allocations: 93.64 kB / 2.338 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/4.556, allocations: 0.6768 MB / 2.339 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.306e-05/4.556, allocations: 19.94 kB / 2.339 GB, free: 67.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/4.556, allocations: 7.438 kB / 2.339 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/4.556, allocations: 3.938 kB / 2.339 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/4.583, allocations: 5.49 MB / 2.344 GB, free: 62.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/4.584, allocations: 150.4 kB / 2.345 GB, free: 62.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/6.365, allocations: 3.938 kB / 2.345 GB, free: 62.03 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)