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.001307/0.001307, 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.001561/0.001562, allocations: 191.7 kB / 16.25 MB, free: 6.633 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9674/0.9674, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.52 kB / 0.505 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 80.93 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002582/0.1482, allocations: 1.541 MB / 0.5855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1494, allocations: 0.8069 MB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.1494, allocations: 0 / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.1495, allocations: 7.922 kB / 0.5863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.1496, allocations: 3.938 kB / 0.5863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.15, allocations: 115.6 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.524e-05/0.1501, allocations: 59.7 kB / 0.5865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.1502, allocations: 12 kB / 0.5865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.1503, allocations: 19.92 kB / 0.5865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.1503, allocations: 27.91 kB / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1503, allocations: 4 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.1507, allocations: 179.7 kB / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.1507, allocations: 8 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.1507, allocations: 23.86 kB / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.151, allocations: 151.9 kB / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.151, allocations: 0 / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.151, allocations: 0 / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.151, allocations: 0 / 0.5869 GB, free: 1.809 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.0004807/0.1515, allocations: 399.2 kB / 0.5872 GB, free: 1.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1515, allocations: 20.02 kB / 0.5873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.1516, allocations: 30.75 kB / 0.5873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1516, allocations: 4.938 kB / 0.5873 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.1517, allocations: 176.2 kB / 0.5875 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1517, allocations: 384 / 0.5875 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1517, allocations: 4.359 kB / 0.5875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.152, allocations: 74.2 kB / 0.5875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.152, allocations: 3.938 kB / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.152, allocations: 8 kB / 0.5876 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.152, allocations: 3.938 kB / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.1523, allocations: 67.92 kB / 0.5876 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.1526, allocations: 296.5 kB / 0.5879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1528, allocations: 58.55 kB / 0.588 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.153, allocations: 36.91 kB / 0.588 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.1532, allocations: 89.09 kB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1532, allocations: 42.56 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1532, allocations: 0 / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004861/0.1537, allocations: 133.4 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.1537, allocations: 51.41 kB / 0.5883 GB, free: 132 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.1538, allocations: 117.8 kB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1539, allocations: 29.7 kB / 0.5884 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.1539, allocations: 88.14 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.1539, allocations: 11.89 kB / 0.5885 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.154, allocations: 9.719 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.154, allocations: 322.8 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1542, allocations: 31.95 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1543, allocations: 35.97 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.1546, allocations: 64.78 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1546, allocations: 3.938 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002907/0.1549, allocations: 105.5 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1549, allocations: 4 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1549, allocations: 0 / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1549, allocations: 0 / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.155, allocations: 19.97 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.155, allocations: 0 / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.1551, allocations: 11.98 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1551, allocations: 0 / 0.5891 GB, free: 15.25 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 7.422e-05/0.1552, allocations: 121.8 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.1552, allocations: 0 / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.1556, allocations: 113.4 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1556, allocations: 384 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1556, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1556, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1558, allocations: 177.6 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1558, allocations: 7.938 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.1559, allocations: 11.98 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1559, allocations: 7.984 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1559, allocations: 3.984 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1559, allocations: 0 / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1559, allocations: 0 / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1562, allocations: 199.4 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.1563, allocations: 92.89 kB / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1563, allocations: 0 / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1564, allocations: 15.97 kB / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1565, allocations: 4 kB / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1565, allocations: 0 / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.1565, allocations: 95.27 kB / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1565, allocations: 4 kB / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002502/0.1568, allocations: 24 kB / 0.59 GB, free: 14.28 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.0006839/0.1575, allocations: 0.7592 MB / 0.5907 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.1578, allocations: 75.84 kB / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1578, allocations: 0 / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.1579, allocations: 35.97 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1582, allocations: 18.02 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1599, allocations: 1.442 MB / 0.5922 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1602, allocations: 0.6807 MB / 0.5929 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.894e-05/0.1602, allocations: 7.984 kB / 0.5929 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.1603, allocations: 11.44 kB / 0.5929 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1603, allocations: 0 / 0.5929 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.166/1.326, allocations: 2.236 MB / 0.5951 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/1.327, allocations: 185.4 kB / 0.5953 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.686, allocations: 0 / 0.5953 GB, free: 8.777 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)