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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_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.001218/0.001218, 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.001125/0.001125, allocations: 194.6 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.275/1.275, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 64 kB / 0.5048 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1228, allocations: 80.92 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001893/0.1247, allocations: 1.317 MB / 0.5851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004839/0.1252, allocations: 296.8 kB / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.274e-05/0.1253, allocations: 0 / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1253, allocations: 3.938 kB / 0.5854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.271e-05/0.1253, allocations: 0 / 0.5854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.1255, allocations: 47.83 kB / 0.5854 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.317e-05/0.1256, allocations: 23.84 kB / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.903e-05/0.1256, allocations: 0 / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.1256, allocations: 7.938 kB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.1257, allocations: 8 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.1257, allocations: 0 / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1258, allocations: 59.94 kB / 0.5855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.657e-06/0.1258, allocations: 0 / 0.5855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.1258, allocations: 11.88 kB / 0.5855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.126, allocations: 60.11 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.126, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.126, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.126, allocations: 0 / 0.5856 GB, free: 3.043 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.0002856/0.1263, allocations: 335.6 kB / 0.5859 GB, free: 2.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1263, allocations: 8.031 kB / 0.5859 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.1263, allocations: 34.75 kB / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.1265, allocations: 16.83 kB / 0.586 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.1266, allocations: 168.3 kB / 0.5861 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.1266, allocations: 4.375 kB / 0.5861 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.1266, allocations: 4.359 kB / 0.5861 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.038e-05/0.1267, allocations: 50.17 kB / 0.5862 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1268, allocations: 3.938 kB / 0.5862 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1268, allocations: 4 kB / 0.5862 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1268, allocations: 0 / 0.5862 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.142e-05/0.1268, allocations: 12 kB / 0.5862 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.1269, allocations: 157.7 kB / 0.5864 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.1288, allocations: 266.5 kB / 0.5866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.1289, allocations: 20.84 kB / 0.5866 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.1289, allocations: 8 kB / 0.5866 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.1289, allocations: 34.5 kB / 0.5867 GB, free: 1.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1289, allocations: 0 / 0.5867 GB, free: 1.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001259/0.129, allocations: 65.62 kB / 0.5867 GB, free: 1.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1291, allocations: 51.41 kB / 0.5868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.227e-05/0.1291, allocations: 89.86 kB / 0.5869 GB, free: 1.535 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1291, allocations: 25.7 kB / 0.5869 GB, free: 1.504 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.1292, allocations: 88.27 kB / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1292, allocations: 15.8 kB / 0.587 GB, free: 1.398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.1292, allocations: 13.72 kB / 0.587 GB, free: 1.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.1293, allocations: 314.8 kB / 0.5873 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.1293, allocations: 4 kB / 0.5873 GB, free: 1.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.1294, allocations: 19.86 kB / 0.5873 GB, free: 1.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.1294, allocations: 24.86 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1294, allocations: 0 / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.13e-05/0.1295, allocations: 53.69 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.1295, allocations: 11.94 kB / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1295, allocations: 0 / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.1295, allocations: 4 kB / 0.5874 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.1296, allocations: 4 kB / 0.5874 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1296, allocations: 0 / 0.5874 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.1296, allocations: 4 kB / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1296, allocations: 7.938 kB / 0.5874 GB, free: 0.9219 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.429e-05/0.1297, allocations: 113.8 kB / 0.5875 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.1297, allocations: 3.938 kB / 0.5876 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.1297, allocations: 11.83 kB / 0.5876 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1297, allocations: 4 kB / 0.5876 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1298, allocations: 4 kB / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1298, allocations: 3.984 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.207e-05/0.1299, allocations: 165.5 kB / 0.5877 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1299, allocations: 0 / 0.5877 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.1299, allocations: 4 kB / 0.5877 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1299, allocations: 7.938 kB / 0.5877 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-06/0.1299, allocations: 0 / 0.5877 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1299, allocations: 0 / 0.5877 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1299, allocations: 4 kB / 0.5877 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.882e-05/0.13, allocations: 81.06 kB / 0.5878 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.1301, allocations: 85.09 kB / 0.5879 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.1301, allocations: 3.938 kB / 0.5879 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.1302, allocations: 0 / 0.5879 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.1302, allocations: 0 / 0.5879 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1302, allocations: 8 kB / 0.5879 GB, free: 340 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.575e-05/0.1302, allocations: 79.28 kB / 0.588 GB, free: 260 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1302, allocations: 0 / 0.588 GB, free: 260 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001671/0.1304, allocations: 8 kB / 0.588 GB, free: 252 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.0002945/0.1307, allocations: 0.6141 MB / 0.5886 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.1308, allocations: 31.86 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1308, allocations: 4.094 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.971e-05/0.1308, allocations: 12 kB / 0.5886 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.131, allocations: 11.98 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.1313, allocations: 158 kB / 0.5888 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.1315, allocations: 0.6731 MB / 0.5895 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.326e-05/0.1316, allocations: 4 kB / 0.5895 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.1316, allocations: 16.14 kB / 0.5895 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1316, allocations: 0 / 0.5895 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7995/0.9311, allocations: 1.166 MB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.9313, allocations: 211.1 kB / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.612, allocations: 3.375 kB / 0.5908 GB, free: 13.32 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)