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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001479/0.001479, allocations: 189.1 kB / 16.25 MB, free: 6.625 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6777/0.6777, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.001101, allocations: 58.72 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1302, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002177/0.1324, allocations: 1.325 MB / 0.581 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1334, allocations: 0.8398 MB / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.1335, allocations: 0 / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.1335, allocations: 0 / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.1336, allocations: 7.922 kB / 0.5818 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.134, allocations: 115.6 kB / 0.5819 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.729e-05/0.1341, allocations: 27.86 kB / 0.5819 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.1341, allocations: 4 kB / 0.5819 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.1342, allocations: 8 kB / 0.582 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.1342, allocations: 15.92 kB / 0.582 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1342, allocations: 0 / 0.582 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.1345, allocations: 171.7 kB / 0.5821 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1345, allocations: 0 / 0.5821 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1346, allocations: 23.91 kB / 0.5822 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1348, allocations: 116 kB / 0.5823 GB, free: 6.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1348, allocations: 4 kB / 0.5823 GB, free: 6.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1348, allocations: 0 / 0.5823 GB, free: 6.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1348, allocations: 0 / 0.5823 GB, free: 6.344 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.0003502/0.1352, allocations: 367.3 kB / 0.5826 GB, free: 5.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1352, allocations: 8.031 kB / 0.5826 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.1352, allocations: 34.73 kB / 0.5827 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.1353, allocations: 4.938 kB / 0.5827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.1354, allocations: 160.4 kB / 0.5828 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.1354, allocations: 30.27 kB / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.1354, allocations: 8.375 kB / 0.5829 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1356, allocations: 45.98 kB / 0.5829 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1356, allocations: 4 kB / 0.5829 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1356, allocations: 4 kB / 0.5829 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1356, allocations: 0 / 0.5829 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.1357, allocations: 15.92 kB / 0.5829 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.1358, allocations: 169.6 kB / 0.5831 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.136, allocations: 46.5 kB / 0.5831 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.1361, allocations: 16.86 kB / 0.5831 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.1363, allocations: 182.3 kB / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1363, allocations: 38.5 kB / 0.5834 GB, free: 5.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1364, allocations: 0 / 0.5834 GB, free: 5.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002129/0.1366, allocations: 69.61 kB / 0.5834 GB, free: 4.941 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1366, allocations: 55.41 kB / 0.5835 GB, free: 4.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.1367, allocations: 106 kB / 0.5836 GB, free: 4.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1367, allocations: 25.7 kB / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.174e-05/0.1367, allocations: 84.14 kB / 0.5837 GB, free: 4.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.1367, allocations: 11.81 kB / 0.5837 GB, free: 4.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.1368, allocations: 13.72 kB / 0.5837 GB, free: 4.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.1369, allocations: 322.8 kB / 0.584 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.1369, allocations: 8 kB / 0.584 GB, free: 4.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.137, allocations: 11.98 kB / 0.584 GB, free: 4.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.278e-05/0.137, allocations: 24.84 kB / 0.5841 GB, free: 4.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.137, allocations: 0 / 0.5841 GB, free: 4.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001227/0.1372, allocations: 61.62 kB / 0.5841 GB, free: 4.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1372, allocations: 7.938 kB / 0.5841 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1372, allocations: 0 / 0.5841 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.1372, allocations: 4 kB / 0.5841 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-05/0.1373, allocations: 11.98 kB / 0.5841 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.1373, allocations: 0 / 0.5841 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.1373, allocations: 7.938 kB / 0.5841 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.1373, allocations: 0 / 0.5841 GB, free: 4.145 MB / 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 5.313e-05/0.1374, allocations: 105.8 kB / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.1374, allocations: 7.938 kB / 0.5843 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.1376, allocations: 73.11 kB / 0.5843 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1376, allocations: 4 kB / 0.5843 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1376, allocations: 0 / 0.5843 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1376, allocations: 3.984 kB / 0.5843 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.69e-05/0.1377, allocations: 157.6 kB / 0.5845 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1377, allocations: 0 / 0.5845 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.1377, allocations: 8 kB / 0.5845 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1378, allocations: 3.938 kB / 0.5845 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1378, allocations: 0 / 0.5845 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1378, allocations: 3.938 kB / 0.5845 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1378, allocations: 0 / 0.5845 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.1379, allocations: 89.05 kB / 0.5846 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.138, allocations: 85.05 kB / 0.5847 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.138, allocations: 3.984 kB / 0.5847 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.1381, allocations: 4 kB / 0.5847 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1381, allocations: 4 kB / 0.5847 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1381, allocations: 4 kB / 0.5847 GB, free: 3.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.037e-05/0.1381, allocations: 87.69 kB / 0.5848 GB, free: 3.402 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1381, allocations: 0 / 0.5848 GB, free: 3.402 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.1384, allocations: 35.94 kB / 0.5848 GB, free: 3.367 MB / 494.1 MB 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.0004609/0.1388, allocations: 0.6553 MB / 0.5854 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.139, allocations: 36.09 kB / 0.5855 GB, free: 2.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.139, allocations: 0 / 0.5855 GB, free: 2.648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.139, allocations: 19.98 kB / 0.5855 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.1393, allocations: 0 / 0.5855 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.1396, allocations: 187.1 kB / 0.5857 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.1398, allocations: 0.6768 MB / 0.5863 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.412e-05/0.1399, allocations: 7.984 kB / 0.5863 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.1399, allocations: 7.438 kB / 0.5863 GB, free: 1.695 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1399, allocations: 0 / 0.5863 GB, free: 1.695 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.01/1.15, allocations: 1.812 MB / 0.5881 GB, free: 44 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/1.15, allocations: 201.9 kB / 0.5883 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.072/4.222, allocations: 3.938 kB / 0.5883 GB, free: 15.79 MB / 0.4981 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/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)