Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.006373/0.006373, 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 0.7156/0.7156, allocations: 135.2 MB / 151.1 MB, free: 13.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.391/1.391, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.0009163/0.0009168, allocations: 93 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4512, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.615, allocations: 113 MB / 0.7599 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.6154, allocations: 83.89 kB / 0.76 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008972/0.6243, allocations: 2.706 MB / 0.7626 GB, free: 168 kB / 0.5261 GB Notification: Performance of FrontEnd: time 5.12e-06/0.6244, allocations: 0 / 0.7626 GB, free: 168 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.6245, allocations: 0 / 0.7626 GB, free: 168 kB / 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.0005701/0.625, allocations: 371.1 kB / 0.763 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.6251, allocations: 8.031 kB / 0.763 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.6252, allocations: 38.5 kB / 0.763 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.6252, allocations: 3.984 kB / 0.763 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.6254, allocations: 167 kB / 0.7632 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/0.6255, allocations: 29.7 kB / 0.7632 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.6255, allocations: 4 kB / 0.7632 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.6257, allocations: 49.67 kB / 0.7633 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.6257, allocations: 0 / 0.7633 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6257, allocations: 0 / 0.7633 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.6257, allocations: 0 / 0.7633 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.6258, allocations: 19.97 kB / 0.7633 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.6261, allocations: 169.6 kB / 0.7634 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.6263, allocations: 42.56 kB / 0.7635 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/0.6266, allocations: 186.3 kB / 0.7636 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.6267, allocations: 34.56 kB / 0.7637 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.6267, allocations: 0 / 0.7637 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002508/0.6269, allocations: 69.61 kB / 0.7637 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.627, allocations: 51.41 kB / 0.7638 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.6271, allocations: 93 kB / 0.7639 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.6271, allocations: 25.7 kB / 0.7639 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.6272, allocations: 84.14 kB / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.6272, allocations: 19.69 kB / 0.764 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.6272, allocations: 0 / 0.764 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6274, allocations: 318.8 kB / 0.7643 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.6274, allocations: 8 kB / 0.7643 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.6275, allocations: 11.98 kB / 0.7643 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/0.6275, allocations: 12 kB / 0.7643 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6275, allocations: 0 / 0.7643 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001231/0.6276, allocations: 61.67 kB / 0.7644 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6277, allocations: 4 kB / 0.7644 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6277, allocations: 0 / 0.7644 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6277, allocations: 3.938 kB / 0.7644 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/0.6278, allocations: 8 kB / 0.7644 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.6278, allocations: 0 / 0.7644 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.6278, allocations: 3.906 kB / 0.7644 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.6278, allocations: 7.938 kB / 0.7644 GB, free: 14.04 MB / 0.5417 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 0.0001015/0.6279, allocations: 117.8 kB / 0.7645 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.628, allocations: 4 kB / 0.7645 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.6282, allocations: 65.69 kB / 0.7646 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6282, allocations: 0 / 0.7646 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6282, allocations: 0 / 0.7646 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6282, allocations: 4.047 kB / 0.7646 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.6284, allocations: 161.6 kB / 0.7648 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6284, allocations: 3.938 kB / 0.7648 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.6284, allocations: 12 kB / 0.7648 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.6284, allocations: 0 / 0.7648 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.6285, allocations: 3.984 kB / 0.7648 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6285, allocations: 0 / 0.7648 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6285, allocations: 0 / 0.7648 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.6286, allocations: 77.12 kB / 0.7649 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.6287, allocations: 88.95 kB / 0.7649 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.6288, allocations: 8 kB / 0.765 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.6288, allocations: 0 / 0.765 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.6289, allocations: 11.98 kB / 0.765 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.6289, allocations: 0 / 0.765 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.6289, allocations: 79.28 kB / 0.765 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.954e-06/0.6289, allocations: 0 / 0.765 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002545/0.6292, allocations: 43.88 kB / 0.7651 GB, free: 13.26 MB / 0.5417 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.0006098/0.6298, allocations: 0.664 MB / 0.7657 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.63, allocations: 23.98 kB / 0.7658 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.63, allocations: 0 / 0.7658 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.63, allocations: 23.92 kB / 0.7658 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.6302, allocations: 5.094 kB / 0.7658 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.6307, allocations: 184.2 kB / 0.766 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.631, allocations: 0.6809 MB / 0.7666 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.961e-05/0.631, allocations: 7.984 kB / 0.7666 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.6311, allocations: 11.44 kB / 0.7666 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of SimCode: time 2.044e-06/0.6311, allocations: 0 / 0.7666 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.6442, allocations: 1.614 MB / 0.7682 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.6445, allocations: 180.3 kB / 0.7684 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.113, allocations: 0 / 0.7684 GB, free: 9.84 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)