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.001364/0.001364, 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.001822/0.001822, allocations: 191 kB / 16.25 MB, free: 6.637 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9489/0.9489, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.08 kB / 0.505 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1425, allocations: 80.93 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002199/0.1447, allocations: 1.3 MB / 0.5853 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004951/0.1453, allocations: 308.7 kB / 0.5856 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.1453, allocations: 0 / 0.5856 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.1453, allocations: 0 / 0.5856 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.1454, allocations: 3.938 kB / 0.5856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1456, allocations: 47.81 kB / 0.5856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.965e-05/0.1457, allocations: 19.92 kB / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.1457, allocations: 4 kB / 0.5856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.1458, allocations: 7.938 kB / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.1458, allocations: 11.92 kB / 0.5857 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.1458, allocations: 0 / 0.5857 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1459, allocations: 55.94 kB / 0.5857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.146, allocations: 4 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.146, allocations: 11.94 kB / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1461, allocations: 48.17 kB / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1461, allocations: 0 / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1461, allocations: 0 / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1461, allocations: 0 / 0.5858 GB, free: 2.969 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.0003164/0.1465, allocations: 335.6 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1465, allocations: 11.97 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.1465, allocations: 38.73 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.1467, allocations: 16.83 kB / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.1468, allocations: 168.3 kB / 0.5863 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1468, allocations: 4.375 kB / 0.5863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1469, allocations: 384 / 0.5863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/0.147, allocations: 46.25 kB / 0.5864 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.147, allocations: 3.938 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.147, allocations: 0 / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.147, allocations: 3.938 kB / 0.5864 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/0.1471, allocations: 19.98 kB / 0.5864 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1472, allocations: 161.7 kB / 0.5865 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.1491, allocations: 266.4 kB / 0.5868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.1491, allocations: 20.84 kB / 0.5868 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1491, allocations: 4 kB / 0.5868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.1491, allocations: 34.56 kB / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1492, allocations: 4 kB / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000146/0.1493, allocations: 65.56 kB / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.1493, allocations: 51.41 kB / 0.587 GB, free: 1.547 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.1494, allocations: 93.86 kB / 0.5871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1494, allocations: 25.7 kB / 0.5871 GB, free: 1.414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.1494, allocations: 84.14 kB / 0.5872 GB, free: 1.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1495, allocations: 7.812 kB / 0.5872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.1495, allocations: 21.7 kB / 0.5872 GB, free: 1.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.1496, allocations: 318.9 kB / 0.5875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.1496, allocations: 8 kB / 0.5875 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.1496, allocations: 8 kB / 0.5875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.1497, allocations: 32.78 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1497, allocations: 0 / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.555e-05/0.1498, allocations: 53.69 kB / 0.5876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1498, allocations: 10.12 kB / 0.5876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1498, allocations: 0 / 0.5876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1498, allocations: 4 kB / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/0.1499, allocations: 8 kB / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1499, allocations: 3.938 kB / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.1499, allocations: 0 / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1499, allocations: 4 kB / 0.5876 GB, free: 0.8359 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 6.69e-05/0.15, allocations: 109.8 kB / 0.5877 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.15, allocations: 3.938 kB / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.15, allocations: 11.48 kB / 0.5877 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1501, allocations: 7.938 kB / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1501, allocations: 0 / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1501, allocations: 4 kB / 0.5878 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.007e-05/0.1502, allocations: 161.5 kB / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1502, allocations: 0 / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.1502, allocations: 4 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1502, allocations: 7.938 kB / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1502, allocations: 0 / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1503, allocations: 0 / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1503, allocations: 0 / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.044e-05/0.1504, allocations: 73.45 kB / 0.588 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.1504, allocations: 93.14 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1504, allocations: 7.922 kB / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.025e-05/0.1505, allocations: 0 / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.1505, allocations: 0 / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.1505, allocations: 8 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.1505, allocations: 79.22 kB / 0.5882 GB, free: 180 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1506, allocations: 0 / 0.5882 GB, free: 180 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001743/0.1507, allocations: 8 kB / 0.5882 GB, free: 172 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.0003063/0.151, allocations: 0.6164 MB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.1511, allocations: 31.92 kB / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1511, allocations: 0 / 0.5888 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.1512, allocations: 12 kB / 0.5888 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1514, allocations: 11.92 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.1518, allocations: 164.1 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.152, allocations: 0.6729 MB / 0.5896 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.388e-05/0.152, allocations: 12 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.152, allocations: 15.38 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1521, allocations: 0 / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6022/0.7542, allocations: 1.215 MB / 0.5909 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.7545, allocations: 208.9 kB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.869, allocations: 0 / 0.5911 GB, free: 13.2 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)