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.001367/0.001368, allocations: 106.4 kB / 16.36 MB, free: 5.949 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.00143/0.00143, allocations: 191.8 kB / 17.3 MB, free: 5.562 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.353/1.353, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.792/1.792, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.002595/0.002595, allocations: 63.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2427, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00237/0.2451, allocations: 1.267 MB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005355/0.2456, allocations: 295.1 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2457, allocations: 0 / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2457, allocations: 0 / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.2458, allocations: 3.938 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.246, allocations: 51.75 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.2461, allocations: 23.92 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.2462, allocations: 3.984 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.2462, allocations: 4 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.2463, allocations: 11.94 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2463, allocations: 0 / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.2464, allocations: 59.94 kB / 0.7865 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.2464, allocations: 0 / 0.7865 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.2465, allocations: 7.938 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.2466, allocations: 47.89 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2466, allocations: 4 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2466, allocations: 0 / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.2466, allocations: 4 kB / 0.7865 GB, free: 1.391 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.0003643/0.247, allocations: 335.5 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.247, allocations: 8.031 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.2473, allocations: 24.91 kB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.569e-05/0.2474, allocations: 160.4 kB / 0.787 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.2474, allocations: 4.375 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2474, allocations: 384 / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2475, allocations: 46.25 kB / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.2475, allocations: 192 / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.2475, allocations: 3.938 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2475, allocations: 0 / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.366e-05/0.2476, allocations: 19.92 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.2478, allocations: 161.6 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.2498, allocations: 274.4 kB / 0.7875 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.2498, allocations: 24.8 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.2498, allocations: 0 / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2499, allocations: 38.55 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2499, allocations: 4 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001709/0.25, allocations: 65.56 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.2501, allocations: 55.41 kB / 0.7877 GB, free: 8 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3526/0.6027, allocations: 89.86 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6028, allocations: 25.7 kB / 0.7878 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.343e-05/0.6028, allocations: 80.14 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.6028, allocations: 7.875 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.6029, allocations: 17.16 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.6029, allocations: 314.4 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.603, allocations: 9.25 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.889e-05/0.603, allocations: 8.906 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.445e-05/0.603, allocations: 27.86 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6031, allocations: 0 / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.489e-05/0.6032, allocations: 55.81 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6032, allocations: 5.906 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6032, allocations: 4.359 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6032, allocations: 2.75 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.6033, allocations: 6.734 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6033, allocations: 2.25 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.6033, allocations: 1.688 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.6034, allocations: 0 / 0.7883 GB, free: 48.42 MB / 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 4.743e-05/0.6034, allocations: 113.2 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.6034, allocations: 5.094 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.6035, allocations: 11.12 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6035, allocations: 3.938 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.6035, allocations: 1.594 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.6035, allocations: 2.156 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.6036, allocations: 159.5 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6036, allocations: 0.8906 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/0.6036, allocations: 12.3 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6037, allocations: 0.5938 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.6037, allocations: 4.094 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6037, allocations: 3.938 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6037, allocations: 6.625 kB / 0.7886 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.963e-05/0.6038, allocations: 74.09 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.6038, allocations: 83.09 kB / 0.7888 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.6038, allocations: 0 / 0.7888 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.6039, allocations: 7 kB / 0.7888 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.6039, allocations: 1.922 kB / 0.7888 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.6039, allocations: 3.312 kB / 0.7888 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.536e-05/0.6039, allocations: 84.12 kB / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.604, allocations: 0 / 0.7889 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000228/0.6042, allocations: 4.75 kB / 0.7889 GB, free: 47.87 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 9.157e-05/0.6043, allocations: 100.3 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.399e-05/0.6044, allocations: 26.98 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6044, allocations: 0.6562 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/0.6044, allocations: 15.97 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.6047, allocations: 12.16 kB / 0.789 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.6049, allocations: 127.9 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.619e-05/0.605, allocations: 0.675 MB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.6051, allocations: 5.562 kB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.6051, allocations: 10.19 kB / 0.7898 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6051, allocations: 0 / 0.7898 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.002143/0.6073, allocations: 0.5117 MB / 0.7903 GB, free: 46.99 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)