Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 101.2 kB / 16.27 MB, free: 6.418 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.001305/0.001305, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.551/1.551, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.815/1.815, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001444/0.001444, allocations: 67.89 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2595, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002457/0.262, allocations: 1.268 MB / 0.7853 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2634, allocations: 0.835 MB / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.2634, allocations: 0 / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.2634, allocations: 0 / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.2635, allocations: 7.938 kB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.264, allocations: 131.4 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.2641, allocations: 27.86 kB / 0.7862 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.2641, allocations: 3.984 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.2641, allocations: 12 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.2642, allocations: 11.92 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2642, allocations: 0 / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.2646, allocations: 167.8 kB / 0.7864 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.2646, allocations: 7.938 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.2646, allocations: 7.938 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.2649, allocations: 128 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2649, allocations: 0 / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2649, allocations: 0 / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2649, allocations: 0 / 0.7866 GB, free: 1.273 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.0004942/0.2654, allocations: 359.4 kB / 0.7869 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2654, allocations: 12.03 kB / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.2655, allocations: 4.844 kB / 0.7869 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2656, allocations: 164.3 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.2657, allocations: 42.25 kB / 0.7871 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.2657, allocations: 4.375 kB / 0.7871 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2659, allocations: 46.19 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2659, allocations: 3.938 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2659, allocations: 0 / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2659, allocations: 0 / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.266, allocations: 19.98 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.2662, allocations: 153.7 kB / 0.7873 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.2664, allocations: 50.61 kB / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.2665, allocations: 16.92 kB / 0.7874 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.2668, allocations: 182.2 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3942/0.661, allocations: 34.56 kB / 0.7876 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 4.449e-06/0.6611, allocations: 0.6562 kB / 0.7876 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0003191/0.6614, allocations: 65.66 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.6614, allocations: 58.53 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.6615, allocations: 94.88 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.6615, allocations: 30.42 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.517e-05/0.6615, allocations: 83.45 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.6616, allocations: 12.98 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.6616, allocations: 18.62 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.6617, allocations: 314.6 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.6617, allocations: 11.17 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.295e-05/0.6618, allocations: 8.188 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.907e-05/0.6619, allocations: 28.66 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6619, allocations: 0.5938 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.662, allocations: 65.62 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.662, allocations: 5.25 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.662, allocations: 1.5 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6621, allocations: 0 / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.6621, allocations: 12 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6621, allocations: 0 / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.6622, allocations: 5.625 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.6622, allocations: 4.75 kB / 0.7884 GB, free: 48.21 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.263e-05/0.6622, allocations: 109.2 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.6623, allocations: 6.656 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.6624, allocations: 74.94 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.6624, allocations: 0 / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6624, allocations: 0 / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6624, allocations: 0 / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.537e-05/0.6625, allocations: 163.5 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6625, allocations: 0 / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.6626, allocations: 6.125 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6626, allocations: 2.688 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.6626, allocations: 0 / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.6626, allocations: 0 / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6626, allocations: 1.094 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.6627, allocations: 98.02 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.6628, allocations: 79.77 kB / 0.7889 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.6628, allocations: 3.594 kB / 0.7889 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.695e-05/0.6629, allocations: 6.562 kB / 0.7889 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.6629, allocations: 7 kB / 0.7889 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.6629, allocations: 0 / 0.7889 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.834e-05/0.6629, allocations: 84.56 kB / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6629, allocations: 0 / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002497/0.6632, allocations: 31 kB / 0.789 GB, free: 47.62 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 0.0001882/0.6634, allocations: 143.1 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.6635, allocations: 31.98 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6636, allocations: 0 / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.6636, allocations: 18.48 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.6639, allocations: 10.38 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.6641, allocations: 147.9 kB / 0.7894 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.406e-05/0.6642, allocations: 0.6863 MB / 0.79 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.6643, allocations: 10.88 kB / 0.7901 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of SimCode: time 3.8e-07/0.6643, allocations: 0.5312 kB / 0.7901 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.002127/0.6664, allocations: 0.9838 MB / 0.791 GB, free: 46.67 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)