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.001174/0.001174, allocations: 105.7 kB / 16.29 MB, free: 6.031 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.001102/0.001102, allocations: 182.7 kB / 17.22 MB, free: 5.641 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.211/1.211, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.619/1.619, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001357/0.001357, allocations: 59.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2186, allocations: 114.6 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002184/0.2208, allocations: 1.256 MB / 0.7853 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000515/0.2214, allocations: 299.1 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.2214, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.2214, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.349e-05/0.2214, allocations: 3.938 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.2217, allocations: 43.75 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.005e-05/0.2218, allocations: 19.94 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.2218, allocations: 11.97 kB / 0.7857 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.2218, allocations: 4 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.2219, allocations: 7.938 kB / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.2219, allocations: 0 / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.222, allocations: 55.95 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.222, allocations: 11.98 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.2221, allocations: 7.938 kB / 0.7857 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.2222, allocations: 52.05 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2222, allocations: 0 / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2222, allocations: 0 / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2222, allocations: 0 / 0.7858 GB, free: 2.086 MB / 0.6544 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.0003377/0.2226, allocations: 339.5 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.2226, allocations: 8.031 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.2228, allocations: 20.91 kB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2229, allocations: 164.3 kB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2229, allocations: 4.375 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.2229, allocations: 4.375 kB / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.936e-05/0.223, allocations: 42.25 kB / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-06/0.2231, allocations: 4.188 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2231, allocations: 3.938 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2231, allocations: 0 / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.2231, allocations: 19.92 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.2233, allocations: 157.6 kB / 0.7865 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.225, allocations: 270.4 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.2251, allocations: 16.86 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.2251, allocations: 0 / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.2251, allocations: 34.56 kB / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.2251, allocations: 4 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.000152/0.2253, allocations: 69.55 kB / 0.7869 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2253, allocations: 59.39 kB / 0.787 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.2254, allocations: 93.86 kB / 0.7871 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2254, allocations: 25.7 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.2254, allocations: 80.14 kB / 0.7872 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.2255, allocations: 11.81 kB / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.2255, allocations: 13.72 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2256, allocations: 319 kB / 0.7875 GB, free: 144 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.2256, allocations: 12 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.2257, allocations: 4 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.2257, allocations: 28.86 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2257, allocations: 0 / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.404e-05/0.2258, allocations: 57.62 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.2258, allocations: 4 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2258, allocations: 3.938 kB / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2258, allocations: 0 / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.2259, allocations: 11.98 kB / 0.7876 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.2259, allocations: 0 / 0.7876 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.2259, allocations: 4 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2259, allocations: 0 / 0.7876 GB, free: 8 kB / 0.6544 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 0.3372/0.5631, allocations: 110.8 kB / 0.7877 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.5632, allocations: 1.969 kB / 0.7877 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.5632, allocations: 12 kB / 0.7877 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5632, allocations: 1.531 kB / 0.7877 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5632, allocations: 0 / 0.7877 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5632, allocations: 1.969 kB / 0.7877 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.285e-05/0.5633, allocations: 158.4 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5633, allocations: 0.7188 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.5634, allocations: 9.031 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5634, allocations: 1.219 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.5634, allocations: 6.812 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5634, allocations: 1.688 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5634, allocations: 9.203 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.756e-05/0.5635, allocations: 77.66 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.5636, allocations: 81.23 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.5636, allocations: 4.125 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/0.5637, allocations: 2.25 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.5637, allocations: 11.81 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.5637, allocations: 2.875 kB / 0.7881 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.698e-05/0.5637, allocations: 78.47 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5637, allocations: 0 / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002119/0.5639, allocations: 7.281 kB / 0.7882 GB, free: 48.2 MB / 0.6544 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 7.699e-05/0.564, allocations: 95.12 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.314e-05/0.5641, allocations: 27.77 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5641, allocations: 0 / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-05/0.5641, allocations: 17.5 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.5644, allocations: 11.47 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.5647, allocations: 121.4 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.994e-05/0.5648, allocations: 0.6772 MB / 0.7891 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.5648, allocations: 6.156 kB / 0.7891 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.5648, allocations: 10.16 kB / 0.7891 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.5648, allocations: 0 / 0.7891 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.002082/0.5669, allocations: 0.5047 MB / 0.7896 GB, free: 47.33 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)