Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001108/0.001109, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.156/1.156, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8037/0.8037, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 64.55 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1258, allocations: 80.93 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001972/0.1278, allocations: 1.313 MB / 0.5851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1289, allocations: 0.8553 MB / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.235e-05/0.1289, allocations: 0 / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.129, allocations: 4 kB / 0.5859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.832e-05/0.129, allocations: 11.92 kB / 0.586 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1293, allocations: 107.6 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.1294, allocations: 23.92 kB / 0.5861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.1294, allocations: 0 / 0.5861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.1295, allocations: 15.88 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.1295, allocations: 15.97 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1295, allocations: 0 / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.1298, allocations: 167.7 kB / 0.5863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.1298, allocations: 15.92 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.1299, allocations: 11.98 kB / 0.5863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1301, allocations: 112 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1301, allocations: 0 / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1301, allocations: 0 / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1301, allocations: 0 / 0.5864 GB, free: 2.234 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003446/0.1304, allocations: 367.3 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.1305, allocations: 8.031 kB / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.724e-05/0.1305, allocations: 30.75 kB / 0.5868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.1305, allocations: 12.92 kB / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.286e-05/0.1306, allocations: 168.3 kB / 0.587 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.1307, allocations: 34.27 kB / 0.587 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.1307, allocations: 384 / 0.587 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1308, allocations: 46 kB / 0.587 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1308, allocations: 4 kB / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.1309, allocations: 0 / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1309, allocations: 3.984 kB / 0.5871 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.1309, allocations: 15.98 kB / 0.5871 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.1311, allocations: 161.7 kB / 0.5872 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1313, allocations: 46.5 kB / 0.5873 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.1313, allocations: 12.86 kB / 0.5873 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.1316, allocations: 182.3 kB / 0.5875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.1316, allocations: 38.5 kB / 0.5875 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1316, allocations: 0 / 0.5875 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002097/0.1318, allocations: 69.58 kB / 0.5876 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.1318, allocations: 51.41 kB / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.1319, allocations: 101.8 kB / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1319, allocations: 29.64 kB / 0.5877 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.1319, allocations: 88.14 kB / 0.5878 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.132, allocations: 7.906 kB / 0.5878 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.132, allocations: 21.62 kB / 0.5878 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.1321, allocations: 314.8 kB / 0.5881 GB, free: 192 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.1321, allocations: 8 kB / 0.5882 GB, free: 184 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.1322, allocations: 11.98 kB / 0.5882 GB, free: 172 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.825e-05/0.1323, allocations: 25.31 kB / 0.5882 GB, free: 144 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1323, allocations: 0 / 0.5882 GB, free: 144 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001223/0.1324, allocations: 65.67 kB / 0.5882 GB, free: 72 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1324, allocations: 7.938 kB / 0.5883 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.1324, allocations: 3.938 kB / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.1324, allocations: 0 / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.1325, allocations: 11.98 kB / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1325, allocations: 3.938 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.1325, allocations: 7.938 kB / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.1325, allocations: 0 / 0.5883 GB, free: 36 kB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.1326, allocations: 113.8 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.1326, allocations: 7.938 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.1328, allocations: 61.17 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1328, allocations: 4 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1328, allocations: 0 / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1328, allocations: 0 / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.56e-05/0.1329, allocations: 157.6 kB / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1329, allocations: 4 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.133, allocations: 11.98 kB / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.133, allocations: 7.938 kB / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.133, allocations: 0 / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.133, allocations: 0 / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.133, allocations: 0 / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.1331, allocations: 85.02 kB / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.1332, allocations: 89.05 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.1332, allocations: 0 / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.658e-05/0.1333, allocations: 3.984 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.1333, allocations: 8 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1333, allocations: 0 / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.604e-05/0.1333, allocations: 79.28 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.212e-06/0.1333, allocations: 0 / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002068/0.1335, allocations: 47.86 kB / 0.5889 GB, free: 15.26 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 (4): * Single equations (assignments): 4 * 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.0004243/0.134, allocations: 0.6514 MB / 0.5896 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1341, allocations: 27.92 kB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1341, allocations: 0 / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.063e-05/0.1342, allocations: 19.94 kB / 0.5896 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.1343, allocations: 11.98 kB / 0.5896 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.1347, allocations: 186.9 kB / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.1349, allocations: 0.6731 MB / 0.5905 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.143e-05/0.1349, allocations: 4 kB / 0.5905 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.1349, allocations: 19.42 kB / 0.5905 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1349, allocations: 0 / 0.5905 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.158/1.293, allocations: 1.784 MB / 0.5922 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/1.293, allocations: 207 kB / 0.5924 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.954, allocations: 0 / 0.5924 GB, free: 11.66 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)