Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004815/0.004815, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.001849/0.001849, allocations: 197.4 kB / 16.79 MB, free: 5.812 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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9187/0.9187, allocations: 135.1 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 60 kB / 0.5053 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1467, allocations: 80.93 MB / 0.5843 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002216/0.1489, allocations: 1.313 MB / 0.5856 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.1495, allocations: 308.7 kB / 0.5859 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.36e-05/0.1496, allocations: 0 / 0.5859 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.1496, allocations: 3.984 kB / 0.5859 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.1497, allocations: 3.938 kB / 0.5859 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.1499, allocations: 43.81 kB / 0.586 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.1499, allocations: 15.94 kB / 0.586 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.15, allocations: 0 / 0.586 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.15, allocations: 11.92 kB / 0.586 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.15, allocations: 8 kB / 0.586 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.1501, allocations: 3.938 kB / 0.586 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1502, allocations: 51.95 kB / 0.5861 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1502, allocations: 11.98 kB / 0.5861 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.1502, allocations: 7.938 kB / 0.5861 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.954e-05/0.1503, allocations: 32.19 kB / 0.5861 GB, free: 3.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.1503, allocations: 8 kB / 0.5861 GB, free: 3.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1503, allocations: 0 / 0.5861 GB, free: 3.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1504, allocations: 0 / 0.5861 GB, free: 3.137 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.0003382/0.1507, allocations: 325.5 kB / 0.5864 GB, free: 2.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1507, allocations: 12.03 kB / 0.5864 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.151, allocations: 32.81 kB / 0.5865 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.1511, allocations: 164.3 kB / 0.5866 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1511, allocations: 384 / 0.5866 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.1511, allocations: 4.375 kB / 0.5866 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.723e-05/0.1512, allocations: 38.25 kB / 0.5867 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1512, allocations: 192 / 0.5867 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1512, allocations: 7.875 kB / 0.5867 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1512, allocations: 8 kB / 0.5867 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.1513, allocations: 19.92 kB / 0.5867 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.1514, allocations: 157.7 kB / 0.5869 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.1534, allocations: 266.5 kB / 0.5871 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.1535, allocations: 24.8 kB / 0.5871 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1535, allocations: 0 / 0.5871 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1535, allocations: 30.56 kB / 0.5872 GB, free: 1.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1535, allocations: 0 / 0.5872 GB, free: 1.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.00016/0.1537, allocations: 69.55 kB / 0.5872 GB, free: 1.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.1538, allocations: 55.41 kB / 0.5873 GB, free: 1.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.1538, allocations: 97.86 kB / 0.5874 GB, free: 1.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1538, allocations: 25.7 kB / 0.5874 GB, free: 1.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.1539, allocations: 84.12 kB / 0.5875 GB, free: 1.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1539, allocations: 7.812 kB / 0.5875 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1539, allocations: 17.72 kB / 0.5875 GB, free: 1.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.154, allocations: 314.8 kB / 0.5878 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.1541, allocations: 12 kB / 0.5878 GB, free: 1.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/0.1541, allocations: 8 kB / 0.5878 GB, free: 1.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.1542, allocations: 32.97 kB / 0.5879 GB, free: 1.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1542, allocations: 3.938 kB / 0.5879 GB, free: 1.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.63e-05/0.1542, allocations: 45.98 kB / 0.5879 GB, free: 1.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1543, allocations: 8 kB / 0.5879 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1543, allocations: 7.922 kB / 0.5879 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1543, allocations: 4.031 kB / 0.5879 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.1544, allocations: 7.984 kB / 0.5879 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1544, allocations: 0 / 0.5879 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.1544, allocations: 4 kB / 0.5879 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1544, allocations: 0 / 0.5879 GB, free: 1.055 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 7.044e-05/0.1545, allocations: 113.8 kB / 0.588 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.1545, allocations: 4 kB / 0.588 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.1545, allocations: 11.44 kB / 0.5881 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1545, allocations: 0 / 0.5881 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1546, allocations: 0 / 0.5881 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1546, allocations: 7.922 kB / 0.5881 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1547, allocations: 149.7 kB / 0.5882 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1547, allocations: 4 kB / 0.5882 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.1547, allocations: 11.92 kB / 0.5882 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1547, allocations: 4 kB / 0.5882 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.1548, allocations: 3.938 kB / 0.5882 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1548, allocations: 0 / 0.5882 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1548, allocations: 4 kB / 0.5882 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/0.1549, allocations: 85.03 kB / 0.5883 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.1549, allocations: 81.05 kB / 0.5884 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.155, allocations: 7.922 kB / 0.5884 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.155, allocations: 0 / 0.5884 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.155, allocations: 8 kB / 0.5884 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1551, allocations: 3.938 kB / 0.5884 GB, free: 476 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.844e-05/0.1551, allocations: 75.28 kB / 0.5885 GB, free: 400 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1551, allocations: 0 / 0.5885 GB, free: 400 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.1553, allocations: 8 kB / 0.5885 GB, free: 392 kB / 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.000102/0.1554, allocations: 103.2 kB / 0.5886 GB, free: 276 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.1555, allocations: 23.98 kB / 0.5886 GB, free: 252 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1555, allocations: 4.094 kB / 0.5886 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.1555, allocations: 12 kB / 0.5886 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1558, allocations: 14.33 kB / 0.5886 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.1561, allocations: 162 kB / 0.5888 GB, free: 28 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.1563, allocations: 0.677 MB / 0.5895 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.1564, allocations: 7.438 kB / 0.5895 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1564, allocations: 0 / 0.5895 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.001641/0.158, allocations: 0.5266 MB / 0.59 GB, free: 14.79 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)