Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 194.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8596/0.8596, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.86 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 80.93 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002222/0.1385, allocations: 1.546 MB / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1397, allocations: 0.8187 MB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.1397, allocations: 0 / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.1398, allocations: 3.938 kB / 0.5861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.1399, allocations: 11.91 kB / 0.5861 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.1403, allocations: 115.6 kB / 0.5862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.259e-05/0.1403, allocations: 55.72 kB / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.1404, allocations: 16 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.1405, allocations: 23.91 kB / 0.5863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.1405, allocations: 19.92 kB / 0.5863 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1406, allocations: 4 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.1409, allocations: 171.7 kB / 0.5865 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.1409, allocations: 7.984 kB / 0.5865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.1409, allocations: 27.86 kB / 0.5866 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1412, allocations: 143.9 kB / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1412, allocations: 0 / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1412, allocations: 0 / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1412, allocations: 0 / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005717/0.1418, allocations: 395.2 kB / 0.5871 GB, free: 1.504 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1419, allocations: 12.03 kB / 0.5871 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.1419, allocations: 38.69 kB / 0.5871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.1419, allocations: 12.92 kB / 0.5871 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1421, allocations: 168.3 kB / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1421, allocations: 4.375 kB / 0.5873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.1421, allocations: 384 / 0.5873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.1424, allocations: 78.2 kB / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1424, allocations: 3.938 kB / 0.5874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1424, allocations: 0 / 0.5874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1424, allocations: 4 kB / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.1427, allocations: 71.86 kB / 0.5874 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.1431, allocations: 284.7 kB / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1433, allocations: 58.47 kB / 0.5878 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1434, allocations: 40.91 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.1436, allocations: 89.11 kB / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1436, allocations: 42.42 kB / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1436, allocations: 0 / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005041/0.1442, allocations: 133.5 kB / 0.5881 GB, free: 344 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1442, allocations: 51.41 kB / 0.5881 GB, free: 280 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/0.1443, allocations: 117.8 kB / 0.5882 GB, free: 152 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1443, allocations: 29.7 kB / 0.5882 GB, free: 116 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.1443, allocations: 84.14 kB / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.1444, allocations: 11.91 kB / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.1444, allocations: 13.72 kB / 0.5884 GB, free: 16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.1445, allocations: 322.8 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1447, allocations: 27.97 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1448, allocations: 31.95 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.1451, allocations: 76.72 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1451, allocations: 0 / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002946/0.1454, allocations: 101.8 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1454, allocations: 8 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1454, allocations: 4 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.1454, allocations: 0 / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1455, allocations: 19.98 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1455, allocations: 0 / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.1456, allocations: 15.97 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1456, allocations: 4 kB / 0.5889 GB, free: 15.38 MB / 0.4981 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.1457, allocations: 109.8 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1457, allocations: 11.94 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.1461, allocations: 105.5 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1461, allocations: 0 / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1461, allocations: 0 / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1461, allocations: 0 / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.1463, allocations: 181.5 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1463, allocations: 4 kB / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.1464, allocations: 19.92 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1464, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1464, allocations: 4 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1464, allocations: 4 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1464, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.1467, allocations: 199.3 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.1468, allocations: 84.95 kB / 0.5896 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1468, allocations: 4 kB / 0.5896 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.1469, allocations: 11.98 kB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.1469, allocations: 7.984 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1469, allocations: 0 / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.147, allocations: 93.78 kB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.147, allocations: 3.938 kB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002449/0.1472, allocations: 32 kB / 0.5898 GB, free: 14.41 MB / 0.4981 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006535/0.1479, allocations: 0.763 MB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.1482, allocations: 71.92 kB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1482, allocations: 0 / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1484, allocations: 35.95 kB / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.1486, allocations: 4.984 kB / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.1502, allocations: 1.447 MB / 0.592 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.1504, allocations: 0.6848 MB / 0.5927 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.1504, allocations: 336 / 0.5927 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.1505, allocations: 15.44 kB / 0.5927 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1505, allocations: 0 / 0.5927 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.003/2.154, allocations: 2.181 MB / 0.5949 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/2.154, allocations: 189.4 kB / 0.595 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/4.167, allocations: 0 / 0.595 GB, free: 8.949 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)