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.0008197/0.0008198, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001059/0.001059, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.13/1.13, allocations: 135.3 MB / 426.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003349, allocations: 8 kB / 0.5071 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 82.32 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001576/0.2054, allocations: 0.9783 MB / 0.5884 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006098/0.206, allocations: 273.1 kB / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.2061, allocations: 0 / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.2061, allocations: 0 / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.2062, allocations: 3.938 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.2065, allocations: 47.81 kB / 0.5887 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.2065, allocations: 19.86 kB / 0.5888 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.2066, allocations: 0 / 0.5888 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.759e-05/0.2066, allocations: 11.94 kB / 0.5888 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.2067, allocations: 4 kB / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.2067, allocations: 0 / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.2069, allocations: 55.94 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.2069, allocations: 7.984 kB / 0.5888 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.2069, allocations: 29.64 kB / 0.5889 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.546e-05/0.207, allocations: 36.14 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.207, allocations: 4 kB / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.207, allocations: 3.984 kB / 0.5889 GB, free: 1.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.207, allocations: 0 / 0.5889 GB, free: 1.398 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.0003642/0.2074, allocations: 323.4 kB / 0.5892 GB, free: 1.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2075, allocations: 12.02 kB / 0.5892 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.2075, allocations: 30.56 kB / 0.5893 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.2077, allocations: 23.84 kB / 0.5893 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.2079, allocations: 163 kB / 0.5894 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2079, allocations: 12 kB / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2079, allocations: 0 / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.208, allocations: 45.67 kB / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2081, allocations: 0 / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2081, allocations: 0 / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2081, allocations: 0 / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.2081, allocations: 15.94 kB / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.2083, allocations: 157.6 kB / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.2101, allocations: 278.4 kB / 0.5899 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.2101, allocations: 20.84 kB / 0.5899 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.2101, allocations: 4 kB / 0.5899 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.2102, allocations: 42.56 kB / 0.59 GB, free: 124 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.495e-06/0.2102, allocations: 0 / 0.59 GB, free: 124 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000167/0.2104, allocations: 61.56 kB / 0.59 GB, free: 56 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.2104, allocations: 55.41 kB / 0.5901 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.2105, allocations: 93.86 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2105, allocations: 25.7 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.2106, allocations: 84.27 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.2107, allocations: 15.8 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.2107, allocations: 0 / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.2108, allocations: 318.8 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.2109, allocations: 4 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.2109, allocations: 8 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.2109, allocations: 15.98 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2109, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001107/0.2111, allocations: 49.64 kB / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2111, allocations: 8 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2111, allocations: 4 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2111, allocations: 3.984 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.2112, allocations: 4 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2112, allocations: 0 / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.2112, allocations: 4 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2112, allocations: 0 / 0.5907 GB, free: 15.33 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.289e-05/0.2113, allocations: 117.7 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.2114, allocations: 4 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.2114, allocations: 11.5 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2114, allocations: 0 / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2114, allocations: 0 / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2114, allocations: 3.984 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2116, allocations: 165.5 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2116, allocations: 0 / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.2117, allocations: 15.92 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2117, allocations: 0 / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2117, allocations: 0 / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2117, allocations: 0 / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2117, allocations: 0 / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.2118, allocations: 85.08 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.2119, allocations: 85.05 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.2119, allocations: 3.984 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.212, allocations: 0 / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.212, allocations: 4.375 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.212, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.118e-05/0.212, allocations: 75.28 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2121, allocations: 4.094 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002078/0.2123, allocations: 12 kB / 0.5913 GB, free: 14.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004073/0.2127, allocations: 0.6235 MB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.306e-05/0.2128, allocations: 20 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2128, allocations: 0 / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.2128, allocations: 23.92 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.2131, allocations: 4 kB / 0.5919 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.2135, allocations: 162.2 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2138, allocations: 0.677 MB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.136e-05/0.2139, allocations: 8 kB / 0.5927 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.2139, allocations: 11.44 kB / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2139, allocations: 0 / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.2252, allocations: 1.089 MB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.2254, allocations: 195.5 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.872, allocations: 4 kB / 0.594 GB, free: 11.84 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/linux/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) Environment - environmentSimulation: