Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 100.9 kB / 16.37 MB, free: 6.465 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.001635/0.001635, allocations: 192.5 kB / 17.31 MB, free: 5.82 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.627/1.627, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.898/1.898, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.0015/0.0015, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2717, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002593/0.2744, allocations: 1.275 MB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2761, allocations: 0.9206 MB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.2761, allocations: 0 / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.2762, allocations: 7.938 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-05/0.2763, allocations: 0 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.277, allocations: 197.1 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.2771, allocations: 15.94 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.2771, allocations: 4 kB / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/0.2772, allocations: 11.92 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.2772, allocations: 11.92 kB / 0.7872 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2772, allocations: 8 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.2776, allocations: 227.7 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.2777, allocations: 4 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.2777, allocations: 15.92 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.278, allocations: 147.8 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.278, allocations: 0 / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.303e-06/0.278, allocations: 0 / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.278, allocations: 0 / 0.7876 GB, free: 324 kB / 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.4669/0.7449, allocations: 346.2 kB / 0.7879 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/0.745, allocations: 11.84 kB / 0.7879 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.7453, allocations: 9.344 kB / 0.7879 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7454, allocations: 163.6 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.7454, allocations: 3.562 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.7454, allocations: 7.031 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.7456, allocations: 42.44 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7456, allocations: 1.375 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.7456, allocations: 3.938 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7456, allocations: 2.547 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.067e-05/0.7457, allocations: 17.27 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.7459, allocations: 159.6 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.7468, allocations: 132.9 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.7469, allocations: 20.98 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.747, allocations: 86.44 kB / 0.7885 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.747, allocations: 31.56 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.747, allocations: 3.391 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002212/0.7473, allocations: 73.83 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.7473, allocations: 53.12 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.7474, allocations: 92.67 kB / 0.7888 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.7474, allocations: 25.7 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.7474, allocations: 84.39 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.7475, allocations: 16 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.7475, allocations: 15.64 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.7476, allocations: 312.5 kB / 0.7892 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.7476, allocations: 13.02 kB / 0.7892 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.7477, allocations: 10.59 kB / 0.7892 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.384e-05/0.7477, allocations: 21.52 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7477, allocations: 2.688 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.84e-05/0.7478, allocations: 56.09 kB / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7478, allocations: 5.25 kB / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7478, allocations: 3.938 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.7479, allocations: 2.625 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.7479, allocations: 7.188 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.7479, allocations: 1.125 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.748, allocations: 8.547 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.748, allocations: 5.953 kB / 0.7893 GB, free: 47.66 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 7.67e-05/0.7481, allocations: 112.8 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.7481, allocations: 0 / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.7484, allocations: 80.86 kB / 0.7895 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7484, allocations: 2.625 kB / 0.7895 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7484, allocations: 3.281 kB / 0.7895 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.7485, allocations: 4.125 kB / 0.7895 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.7486, allocations: 163.8 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7486, allocations: 0 / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.7486, allocations: 12.06 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7486, allocations: 3.719 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.7487, allocations: 3.938 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.7487, allocations: 2.562 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7487, allocations: 0.6562 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.7488, allocations: 91.45 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.7489, allocations: 77.86 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.7489, allocations: 9.375 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.7489, allocations: 0.8125 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.749, allocations: 4.906 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.749, allocations: 0.625 kB / 0.7899 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.749, allocations: 82.81 kB / 0.79 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.749, allocations: 0 / 0.79 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002879/0.7493, allocations: 44.23 kB / 0.79 GB, free: 47.08 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 (5): * Single equations (assignments): 5 * 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.0004628/0.7498, allocations: 168.3 kB / 0.7902 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.7499, allocations: 28.62 kB / 0.7902 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7499, allocations: 0.8125 kB / 0.7902 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.75, allocations: 17.88 kB / 0.7902 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.7502, allocations: 11.34 kB / 0.7902 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.7506, allocations: 143 kB / 0.7904 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.7508, allocations: 0.681 MB / 0.791 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.7508, allocations: 11.59 kB / 0.791 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.7508, allocations: 0 / 0.791 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.003232/0.7541, allocations: 1.035 MB / 0.792 GB, free: 46.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)