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.001489/0.001489, allocations: 104.1 kB / 16.36 MB, free: 6.309 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.001501/0.001501, allocations: 188.7 kB / 17.29 MB, free: 5.875 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.676/1.676, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.891/1.891, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001932/0.001932, allocations: 67.03 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2604, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003023/0.2634, allocations: 1.268 MB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2651, allocations: 0.8389 MB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.2651, allocations: 8 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.2652, allocations: 0 / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.2652, allocations: 7.922 kB / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.2658, allocations: 127.4 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.435e-05/0.2659, allocations: 23.86 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.2659, allocations: 7.984 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.635e-05/0.266, allocations: 11.98 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.2661, allocations: 11.94 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2661, allocations: 4 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.2664, allocations: 171.7 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.2665, allocations: 3.984 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.2665, allocations: 11.94 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.2668, allocations: 115.7 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2668, allocations: 0 / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2668, allocations: 0 / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2668, allocations: 4 kB / 0.7873 GB, free: 0.5312 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.0005172/0.2673, allocations: 363.4 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2674, allocations: 12.03 kB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.2674, allocations: 4.844 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4372/0.7047, allocations: 161.2 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.7048, allocations: 29.89 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.7049, allocations: 1.719 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.705, allocations: 44.77 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7051, allocations: 0 / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.7051, allocations: 1.406 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.7051, allocations: 5.531 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.792e-05/0.7052, allocations: 21.23 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.7054, allocations: 157.8 kB / 0.7881 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.7056, allocations: 46.61 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.7056, allocations: 24.77 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.7059, allocations: 176.4 kB / 0.7883 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.7059, allocations: 31.56 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.7059, allocations: 0 / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002459/0.7062, allocations: 78.03 kB / 0.7884 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.7062, allocations: 56.84 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.7063, allocations: 94 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.7063, allocations: 29.42 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.184e-05/0.7063, allocations: 83.02 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.7064, allocations: 20.45 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.7064, allocations: 14.84 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.7064, allocations: 314.8 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.737e-05/0.7065, allocations: 10.58 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.7065, allocations: 10.92 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.879e-05/0.7066, allocations: 33.06 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7067, allocations: 1.844 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001135/0.7068, allocations: 55.72 kB / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7068, allocations: 5.406 kB / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7068, allocations: 0 / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7068, allocations: 3.5 kB / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.7069, allocations: 14.78 kB / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7069, allocations: 2.406 kB / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.7069, allocations: 0 / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.7069, allocations: 2.875 kB / 0.7892 GB, free: 47.5 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.934e-05/0.707, allocations: 112 kB / 0.7893 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.707, allocations: 2.875 kB / 0.7893 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.7072, allocations: 75.77 kB / 0.7893 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7072, allocations: 3.938 kB / 0.7893 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7072, allocations: 0 / 0.7893 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.7072, allocations: 4.016 kB / 0.7893 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.659e-05/0.7073, allocations: 153.7 kB / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7073, allocations: 4.344 kB / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.7074, allocations: 5.25 kB / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7074, allocations: 0 / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.7074, allocations: 3.438 kB / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7074, allocations: 7.531 kB / 0.7895 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7074, allocations: 2.719 kB / 0.7895 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.7075, allocations: 78.84 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.7076, allocations: 83.22 kB / 0.7897 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.7076, allocations: 1.875 kB / 0.7897 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.7076, allocations: 11.97 kB / 0.7897 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.7077, allocations: 9.859 kB / 0.7897 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.7077, allocations: 2.75 kB / 0.7897 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.062e-05/0.7077, allocations: 79.12 kB / 0.7898 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7077, allocations: 0 / 0.7898 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002368/0.708, allocations: 38.69 kB / 0.7898 GB, free: 46.92 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.0002099/0.7082, allocations: 140.2 kB / 0.7899 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.7083, allocations: 27.19 kB / 0.79 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7084, allocations: 0.5 kB / 0.79 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.7084, allocations: 18.09 kB / 0.79 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.7086, allocations: 8.062 kB / 0.79 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.7089, allocations: 151 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.709, allocations: 0.6777 MB / 0.7908 GB, free: 46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.7091, allocations: 16.64 kB / 0.7908 GB, free: 46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7091, allocations: 2.297 kB / 0.7908 GB, free: 46 MB / 0.6544 GB Notification: Performance of Templates: time 0.002554/0.7116, allocations: 0.9865 MB / 0.7918 GB, free: 45.95 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)