Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, 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.001063/0.001063, allocations: 186 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 62.44 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2247, allocations: 114.5 MB / 0.7829 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00257/0.2274, allocations: 1.325 MB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000505/0.2279, allocations: 299.1 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.2279, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2279, allocations: 4 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.785e-05/0.228, allocations: 7.922 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.2283, allocations: 35.83 kB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.97e-05/0.2283, allocations: 19.92 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.2284, allocations: 4 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.2284, allocations: 7.984 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.2284, allocations: 11.92 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.2285, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.2286, allocations: 59.95 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.2286, allocations: 4 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.2286, allocations: 11.94 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2287, allocations: 44.17 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2288, allocations: 3.984 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2288, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2288, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB 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.000361/0.2291, allocations: 335.5 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2292, allocations: 8.031 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.2294, allocations: 24.83 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2295, allocations: 168.3 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2295, allocations: 384 / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2296, allocations: 8.359 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.742e-05/0.2297, allocations: 38.25 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2297, allocations: 4.188 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.2297, allocations: 11.88 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2297, allocations: 0 / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.2298, allocations: 12 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.2299, allocations: 157.7 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.2318, allocations: 270.4 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.2319, allocations: 24.84 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.2319, allocations: 0 / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2319, allocations: 30.56 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2319, allocations: 0 / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001593/0.2321, allocations: 69.61 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2321, allocations: 55.41 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.486e-05/0.2322, allocations: 93.8 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2322, allocations: 29.83 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.2322, allocations: 80.14 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.2323, allocations: 19.8 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.2323, allocations: 13.72 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2324, allocations: 314.8 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.2324, allocations: 4 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.2325, allocations: 11.98 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.2325, allocations: 24.86 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2325, allocations: 4 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.326e-05/0.2326, allocations: 53.69 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2326, allocations: 4 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2326, allocations: 11.88 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.2327, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.578e-05/0.2327, allocations: 4 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2327, allocations: 4 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.2328, allocations: 4 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.2328, allocations: 0 / 0.7864 GB, free: 10.01 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/0.2329, allocations: 114.5 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.2329, allocations: 3.984 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.2329, allocations: 11.44 kB / 0.7866 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2329, allocations: 0 / 0.7866 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2329, allocations: 0 / 0.7866 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2329, allocations: 3.938 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.756e-05/0.233, allocations: 161.6 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.233, allocations: 0 / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.2331, allocations: 7.938 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2331, allocations: 0 / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2331, allocations: 3.938 kB / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2331, allocations: 4 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2331, allocations: 4 kB / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.233e-05/0.2332, allocations: 84.97 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.2333, allocations: 81.09 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.2333, allocations: 3.938 kB / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.309e-05/0.2334, allocations: 4 kB / 0.7869 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.2334, allocations: 0 / 0.7869 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.2334, allocations: 8 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.485e-05/0.2334, allocations: 79.28 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2334, allocations: 0 / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001725/0.2336, allocations: 4 kB / 0.787 GB, free: 9.34 MB / 0.6075 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 9.471e-05/0.2337, allocations: 99.23 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.455e-05/0.2338, allocations: 31.92 kB / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2338, allocations: 0 / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.07e-05/0.2338, allocations: 12.47 kB / 0.7871 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.2341, allocations: 20.06 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.2343, allocations: 122.6 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.2346, allocations: 0.6768 MB / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.113e-05/0.2347, allocations: 12.08 kB / 0.7879 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.2347, allocations: 7.438 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of SimCode: time 1.332e-06/0.2347, allocations: 0 / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of Templates: time 0.002164/0.2369, allocations: 0.5168 MB / 0.7885 GB, free: 7.793 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)