Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7889/0.7889, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 182.3 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 115.7 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 290.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 87.86 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4126, allocations: 81.28 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001965/0.4146, allocations: 1.346 MB / 0.7692 GB, free: 26.32 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.4157, allocations: 0.8909 MB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.4157, allocations: 0 / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.4157, allocations: 3.938 kB / 0.7701 GB, free: 25.42 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.4158, allocations: 8 kB / 0.7701 GB, free: 25.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.4162, allocations: 150.5 kB / 0.7703 GB, free: 25.27 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.525e-05/0.4163, allocations: 27.81 kB / 0.7703 GB, free: 25.24 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.4163, allocations: 0 / 0.7703 GB, free: 25.24 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.4164, allocations: 4 kB / 0.7703 GB, free: 25.24 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.4164, allocations: 11.98 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.4164, allocations: 4 kB / 0.7703 GB, free: 25.22 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.4167, allocations: 187.8 kB / 0.7705 GB, free: 25.04 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.4167, allocations: 7.922 kB / 0.7705 GB, free: 25.03 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.4167, allocations: 11.98 kB / 0.7705 GB, free: 25.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.4169, allocations: 146.4 kB / 0.7706 GB, free: 24.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.417, allocations: 0 / 0.7706 GB, free: 24.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.417, allocations: 3.938 kB / 0.7706 GB, free: 24.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.417, allocations: 0 / 0.7706 GB, free: 24.88 MB / 458.7 MB 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.0003042/0.4173, allocations: 363.5 kB / 0.771 GB, free: 24.47 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.4173, allocations: 12.03 kB / 0.771 GB, free: 24.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.4175, allocations: 12.86 kB / 0.771 GB, free: 24.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.373e-05/0.4176, allocations: 172.3 kB / 0.7712 GB, free: 24.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4176, allocations: 4.375 kB / 0.7712 GB, free: 24.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.4176, allocations: 4.125 kB / 0.7712 GB, free: 24.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.907e-05/0.4177, allocations: 41.69 kB / 0.7712 GB, free: 24.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.4177, allocations: 0 / 0.7712 GB, free: 24.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4177, allocations: 0 / 0.7712 GB, free: 24.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.4177, allocations: 0 / 0.7712 GB, free: 24.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.4178, allocations: 19.98 kB / 0.7713 GB, free: 24.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.4179, allocations: 157.7 kB / 0.7714 GB, free: 23.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.4187, allocations: 142.5 kB / 0.7715 GB, free: 23.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.4188, allocations: 20.8 kB / 0.7716 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.372e-05/0.4189, allocations: 89.09 kB / 0.7716 GB, free: 23.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.4189, allocations: 30.56 kB / 0.7717 GB, free: 23.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4189, allocations: 0 / 0.7717 GB, free: 23.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001445/0.4191, allocations: 65.62 kB / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.4191, allocations: 55.41 kB / 0.7718 GB, free: 23.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.399e-05/0.4191, allocations: 93.84 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.4191, allocations: 25.7 kB / 0.7719 GB, free: 23.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-06/0.4191, allocations: 84.27 kB / 0.772 GB, free: 23.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.4192, allocations: 19.75 kB / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.4192, allocations: 9.719 kB / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.4192, allocations: 322.8 kB / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.4193, allocations: 4 kB / 0.7723 GB, free: 22.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.4193, allocations: 8 kB / 0.7723 GB, free: 22.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.4193, allocations: 28.84 kB / 0.7724 GB, free: 22.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4193, allocations: 0 / 0.7724 GB, free: 22.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.165e-05/0.4194, allocations: 61.56 kB / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.4194, allocations: 8 kB / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4194, allocations: 0 / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.4195, allocations: 0 / 0.7724 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.233e-05/0.4195, allocations: 8.328 kB / 0.7724 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.4195, allocations: 0 / 0.7724 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.4196, allocations: 0 / 0.7724 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.4196, allocations: 0 / 0.7724 GB, free: 22.81 MB / 458.7 MB 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.112e-05/0.4196, allocations: 114.6 kB / 0.7725 GB, free: 22.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.4196, allocations: 7.938 kB / 0.7725 GB, free: 22.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.4198, allocations: 85.09 kB / 0.7726 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4199, allocations: 3.938 kB / 0.7726 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4199, allocations: 0 / 0.7726 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4199, allocations: 0 / 0.7726 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.204e-05/0.4199, allocations: 165.5 kB / 0.7728 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4199, allocations: 4 kB / 0.7728 GB, free: 22.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.42, allocations: 8 kB / 0.7728 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.42, allocations: 7.938 kB / 0.7728 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.42, allocations: 0 / 0.7728 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.42, allocations: 4.047 kB / 0.7728 GB, free: 22.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.42, allocations: 4 kB / 0.7728 GB, free: 22.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.4202, allocations: 0.6474 MB / 0.7734 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.4203, allocations: 77.11 kB / 0.7735 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.4203, allocations: 0 / 0.7735 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/0.4203, allocations: 4 kB / 0.7735 GB, free: 21.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.4204, allocations: 3.984 kB / 0.7735 GB, free: 21.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4204, allocations: 8 kB / 0.7735 GB, free: 21.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.491e-05/0.4204, allocations: 79.22 kB / 0.7736 GB, free: 21.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4204, allocations: 0 / 0.7736 GB, free: 21.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.4207, allocations: 40 kB / 0.7737 GB, free: 21.41 MB / 458.7 MB 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.0002686/0.421, allocations: 178.2 kB / 0.7738 GB, free: 21.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.36e-05/0.4211, allocations: 31.92 kB / 0.7739 GB, free: 21.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4211, allocations: 0 / 0.7739 GB, free: 21.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.457e-05/0.4211, allocations: 19.98 kB / 0.7739 GB, free: 21.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.4213, allocations: 5.875 kB / 0.7739 GB, free: 21.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.4216, allocations: 243.1 kB / 0.7741 GB, free: 20.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.858e-05/0.4217, allocations: 0.6809 MB / 0.7748 GB, free: 20.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.259e-05/0.4218, allocations: 8 kB / 0.7748 GB, free: 20.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.4218, allocations: 15.44 kB / 0.7748 GB, free: 20.17 MB / 458.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4218, allocations: 0 / 0.7748 GB, free: 20.17 MB / 458.7 MB Notification: Performance of Templates: time 0.002711/0.4245, allocations: 1.056 MB / 0.7758 GB, free: 19.12 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)