Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00135/0.00135, allocations: 190.8 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 66.75 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3238, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002881/0.3268, allocations: 1.335 MB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3281, allocations: 0.7905 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.3282, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.3282, allocations: 3.938 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.978e-05/0.3283, allocations: 3.984 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.3288, allocations: 143.4 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.3289, allocations: 19.92 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.329, allocations: 4 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.329, allocations: 11.94 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.3291, allocations: 7.984 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3291, allocations: 7.938 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.3296, allocations: 287.5 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.3296, allocations: 7.984 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.3296, allocations: 11.94 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.33, allocations: 175.9 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.33, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.02e-07/0.33, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.33, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004598/0.3305, allocations: 359.5 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3305, allocations: 15.97 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.3308, allocations: 20.91 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3309, allocations: 168.3 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3309, allocations: 384 / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.331, allocations: 4.375 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3311, allocations: 50.19 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3311, allocations: 192 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3311, allocations: 7.938 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3312, allocations: 7.938 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.3312, allocations: 27.97 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.3314, allocations: 153.7 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3316, allocations: 66.66 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.3316, allocations: 24.89 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3316, allocations: 4 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3317, allocations: 38.5 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3317, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002249/0.3319, allocations: 77.62 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.332, allocations: 51.41 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.332, allocations: 93.86 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.3321, allocations: 33.69 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.3321, allocations: 80.14 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.3322, allocations: 15.78 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.3322, allocations: 25.72 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3324, allocations: 314.8 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.137e-05/0.3324, allocations: 8 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.3325, allocations: 12 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.3325, allocations: 40.78 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3325, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001175/0.3327, allocations: 61.69 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3327, allocations: 8 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3327, allocations: 7.938 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3327, allocations: 3.984 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3329, allocations: 15.98 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3329, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.3329, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3329, allocations: 4 kB / 1.072 GB, free: 6.055 MB / 0.8262 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 (6): * Single equations (assignments): 6 * 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 8.532e-05/0.333, allocations: 113.8 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.3331, allocations: 3.906 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.3333, allocations: 105.5 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3333, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3333, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3333, allocations: 448 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3335, allocations: 173.5 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3335, allocations: 0 / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3336, allocations: 23.98 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3336, allocations: 3.938 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3336, allocations: 7.938 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3336, allocations: 0 / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3336, allocations: 0 / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.3338, allocations: 97.11 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.3339, allocations: 85 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3339, allocations: 3.938 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.3339, allocations: 8 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.334, allocations: 3.984 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-06/0.334, allocations: 8 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.334, allocations: 75.28 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.334, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001931/0.3342, allocations: 8 kB / 1.073 GB, free: 5.242 MB / 0.8262 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 (7): * Single equations (assignments): 7 * 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.0001316/0.3344, allocations: 107.2 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.3345, allocations: 31.98 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3345, allocations: 0 / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.3346, allocations: 32.02 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3348, allocations: 12.72 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.3352, allocations: 142 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3355, allocations: 0.677 MB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.565e-05/0.3355, allocations: 11.98 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.3356, allocations: 11.44 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3356, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of Templates: time 0.002835/0.3384, allocations: 0.5294 MB / 1.074 GB, free: 3.648 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)