Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001147/0.001147, 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.001155/0.001155, allocations: 194.2 kB / 16.13 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6805/0.6805, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 62.97 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 80.21 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001907/0.1279, allocations: 1.306 MB / 0.5808 GB, free: 7.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005658/0.1284, allocations: 308.8 kB / 0.5811 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.1285, allocations: 0 / 0.5811 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.1285, allocations: 3.984 kB / 0.5811 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.1285, allocations: 7.922 kB / 0.5811 GB, free: 7.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1288, allocations: 39.83 kB / 0.5811 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.013e-05/0.1288, allocations: 15.94 kB / 0.5811 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1289, allocations: 0 / 0.5811 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.422e-05/0.1289, allocations: 15.92 kB / 0.5812 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.129, allocations: 7.984 kB / 0.5812 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.129, allocations: 3.938 kB / 0.5812 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1291, allocations: 51.95 kB / 0.5812 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.1291, allocations: 4 kB / 0.5812 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.1292, allocations: 19.86 kB / 0.5812 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1293, allocations: 48.17 kB / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1293, allocations: 0 / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1293, allocations: 0 / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1293, allocations: 0 / 0.5813 GB, free: 7.312 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.000376/0.1297, allocations: 340.7 kB / 0.5816 GB, free: 6.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1297, allocations: 11.97 kB / 0.5816 GB, free: 6.918 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.1298, allocations: 30.75 kB / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.13, allocations: 24.89 kB / 0.5817 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.011e-05/0.1301, allocations: 168.3 kB / 0.5818 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-06/0.1301, allocations: 384 / 0.5818 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.1301, allocations: 4.375 kB / 0.5818 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.1302, allocations: 42.25 kB / 0.5819 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1302, allocations: 7.938 kB / 0.5819 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.1303, allocations: 0 / 0.5819 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1303, allocations: 0 / 0.5819 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/0.1303, allocations: 19.92 kB / 0.5819 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.1305, allocations: 157.7 kB / 0.5821 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.1322, allocations: 266.4 kB / 0.5823 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.1323, allocations: 16.86 kB / 0.5823 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.1323, allocations: 0 / 0.5823 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1323, allocations: 42.56 kB / 0.5824 GB, free: 6.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1323, allocations: 0 / 0.5824 GB, free: 6.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001015/0.1324, allocations: 61.56 kB / 0.5824 GB, free: 5.965 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.1325, allocations: 63.39 kB / 0.5825 GB, free: 5.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.915e-05/0.1325, allocations: 93.86 kB / 0.5826 GB, free: 5.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1325, allocations: 25.7 kB / 0.5826 GB, free: 5.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.1326, allocations: 80.14 kB / 0.5827 GB, free: 5.676 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1326, allocations: 11.81 kB / 0.5827 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1326, allocations: 17.72 kB / 0.5827 GB, free: 5.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.1327, allocations: 314.8 kB / 0.583 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.1327, allocations: 12.12 kB / 0.583 GB, free: 5.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.1327, allocations: 8 kB / 0.583 GB, free: 5.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.1328, allocations: 28.8 kB / 0.5831 GB, free: 5.273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1328, allocations: 0 / 0.5831 GB, free: 5.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.926e-05/0.1329, allocations: 53.69 kB / 0.5831 GB, free: 5.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.1329, allocations: 7.938 kB / 0.5831 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.1329, allocations: 336 / 0.5831 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.1329, allocations: 0 / 0.5831 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.1329, allocations: 15.92 kB / 0.5831 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.1329, allocations: 3.938 kB / 0.5831 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.133, allocations: 4 kB / 0.5831 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.133, allocations: 0 / 0.5831 GB, free: 5.184 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.332e-05/0.133, allocations: 113.8 kB / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.1331, allocations: 7.922 kB / 0.5833 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.1331, allocations: 7.5 kB / 0.5833 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1331, allocations: 0 / 0.5833 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1331, allocations: 0 / 0.5833 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1331, allocations: 4 kB / 0.5833 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.908e-05/0.1332, allocations: 161.5 kB / 0.5834 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1332, allocations: 7.938 kB / 0.5834 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.1333, allocations: 7.984 kB / 0.5834 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1333, allocations: 3.938 kB / 0.5834 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-06/0.1333, allocations: 0 / 0.5834 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1333, allocations: 4 kB / 0.5834 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1333, allocations: 0 / 0.5834 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.777e-05/0.1334, allocations: 73.12 kB / 0.5835 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.1334, allocations: 81.11 kB / 0.5836 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1334, allocations: 7.938 kB / 0.5836 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.1335, allocations: 7.984 kB / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-06/0.1335, allocations: 0 / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1335, allocations: 0 / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.244e-05/0.1335, allocations: 79.28 kB / 0.5837 GB, free: 4.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1335, allocations: 0 / 0.5837 GB, free: 4.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001607/0.1337, allocations: 4 kB / 0.5837 GB, free: 4.52 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.0002739/0.134, allocations: 0.6164 MB / 0.5843 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.539e-05/0.134, allocations: 27.98 kB / 0.5843 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.134, allocations: 0 / 0.5843 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-05/0.1341, allocations: 19.92 kB / 0.5843 GB, free: 3.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.1343, allocations: 8 kB / 0.5843 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.1345, allocations: 169.9 kB / 0.5845 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.1347, allocations: 0.677 MB / 0.5852 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.1348, allocations: 4 kB / 0.5852 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1348, allocations: 11.44 kB / 0.5852 GB, free: 2.898 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1348, allocations: 3.938 kB / 0.5852 GB, free: 2.895 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.546/1.681, allocations: 1.145 MB / 0.5863 GB, free: 1.867 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/1.681, allocations: 206 kB / 0.5865 GB, free: 1.605 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/3.496, allocations: 3.719 kB / 0.5865 GB, free: 1.605 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)