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.00138/0.00138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.489/1.489, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9841/0.9841, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 70.77 kB / 0.5055 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1903, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002795/0.1931, allocations: 1.249 MB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000578/0.1938, allocations: 295.1 kB / 0.586 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.1938, allocations: 3.938 kB / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.1939, allocations: 0 / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.1939, allocations: 0 / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.1942, allocations: 51.73 kB / 0.586 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.001e-05/0.1943, allocations: 19.88 kB / 0.5861 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.1944, allocations: 11.98 kB / 0.5861 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.1944, allocations: 7.938 kB / 0.5861 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.1945, allocations: 4 kB / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1945, allocations: 0 / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1946, allocations: 51.95 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.1946, allocations: 11.97 kB / 0.5861 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.1947, allocations: 7.938 kB / 0.5861 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1948, allocations: 48.19 kB / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1948, allocations: 0 / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1948, allocations: 0 / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1948, allocations: 0 / 0.5862 GB, free: 2.703 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.0003547/0.1952, allocations: 335.6 kB / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1952, allocations: 11.97 kB / 0.5865 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.1953, allocations: 34.75 kB / 0.5866 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.1955, allocations: 28.81 kB / 0.5866 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1956, allocations: 164.3 kB / 0.5867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1956, allocations: 4.375 kB / 0.5867 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1956, allocations: 4.312 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1957, allocations: 46.25 kB / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1958, allocations: 3.938 kB / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1958, allocations: 0 / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1958, allocations: 0 / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.1958, allocations: 15.98 kB / 0.5868 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.196, allocations: 161.7 kB / 0.587 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.1978, allocations: 270.4 kB / 0.5872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.1979, allocations: 20.86 kB / 0.5872 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.1979, allocations: 0 / 0.5872 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1979, allocations: 42.48 kB / 0.5873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1979, allocations: 4 kB / 0.5873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001528/0.1981, allocations: 61.62 kB / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.1981, allocations: 55.41 kB / 0.5874 GB, free: 1.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.1982, allocations: 89.86 kB / 0.5875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1982, allocations: 25.7 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.1982, allocations: 80.14 kB / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1982, allocations: 11.81 kB / 0.5876 GB, free: 1.051 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.1983, allocations: 21.66 kB / 0.5876 GB, free: 1.023 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.1984, allocations: 319 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.1984, allocations: 8 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.1984, allocations: 8.188 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.1985, allocations: 32.92 kB / 0.588 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1985, allocations: 0 / 0.588 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.451e-05/0.1985, allocations: 49.7 kB / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1986, allocations: 10.44 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1986, allocations: 3.984 kB / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1986, allocations: 0 / 0.588 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.1987, allocations: 15.94 kB / 0.588 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1987, allocations: 3.938 kB / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.1987, allocations: 0 / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.1987, allocations: 0 / 0.5881 GB, free: 0.5664 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.878e-05/0.1988, allocations: 113.8 kB / 0.5882 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.1988, allocations: 3.938 kB / 0.5882 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.1988, allocations: 7.5 kB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1988, allocations: 0 / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1988, allocations: 4 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1989, allocations: 7.984 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.521e-05/0.199, allocations: 157.5 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.199, allocations: 3.984 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.199, allocations: 4 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.199, allocations: 3.938 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.199, allocations: 4 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.199, allocations: 4 kB / 0.5884 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.199, allocations: 0 / 0.5884 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.241e-05/0.1991, allocations: 85.06 kB / 0.5884 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1992, allocations: 77.11 kB / 0.5885 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.1992, allocations: 12.12 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/0.1993, allocations: 0 / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.1993, allocations: 0 / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1993, allocations: 4 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.1994, allocations: 75.28 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1994, allocations: 3.938 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001727/0.1995, allocations: 4 kB / 0.5886 GB, free: 15.9 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 (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.000327/0.1999, allocations: 0.6203 MB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.216e-05/0.2, allocations: 23.94 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.2, allocations: 0 / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.177e-05/0.2, allocations: 19.98 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2003, allocations: 8 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.2006, allocations: 161.7 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2009, allocations: 0.6807 MB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.015e-05/0.2009, allocations: 8.328 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.2009, allocations: 11.38 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.201, allocations: 0 / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/0.3373, allocations: 1.294 MB / 0.5914 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.813, allocations: 4.688 kB / 0.5914 GB, free: 13.07 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)