Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5281/0.5281, allocations: 94.7 MB / 107.3 MB, free: 5.172 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001047/0.001047, allocations: 169.6 kB / 130.7 MB, free: 7.535 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.382/1.382, allocations: 170.5 MB / 324.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001628/0.001628, allocations: 111.2 kB / 386.6 MB, free: 16.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.947e-05, allocations: 4 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3969, allocations: 61.52 MB / 0.5054 GB, free: 49.4 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.5269, allocations: 94.1 MB / 0.5973 GB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5272, allocations: 75.95 kB / 0.5974 GB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004231/0.5314, allocations: 1.478 MB / 0.5988 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5315, allocations: 1.25 kB / 0.5988 GB, free: 15.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.5315, allocations: 0 / 0.5988 GB, free: 15.95 MB / 426.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.0003516/0.5319, allocations: 328.3 kB / 0.5991 GB, free: 15.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.5319, allocations: 12.03 kB / 0.5991 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.5322, allocations: 15.45 kB / 0.5991 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.5324, allocations: 163.1 kB / 0.5993 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5324, allocations: 5.875 kB / 0.5993 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.5324, allocations: 0.5156 kB / 0.5993 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.5325, allocations: 53.05 kB / 0.5993 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.5326, allocations: 0 / 0.5993 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5326, allocations: 7.188 kB / 0.5994 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5326, allocations: 0 / 0.5994 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.5326, allocations: 16 kB / 0.5994 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.5328, allocations: 162.3 kB / 0.5995 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.5346, allocations: 266.1 kB / 0.5998 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.5346, allocations: 26 kB / 0.5998 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.5347, allocations: 0 / 0.5998 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.5347, allocations: 39.31 kB / 0.5998 GB, free: 14.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.5347, allocations: 1.031 kB / 0.5998 GB, free: 14.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001614/0.5349, allocations: 58.17 kB / 0.5999 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.5349, allocations: 56.5 kB / 0.6 GB, free: 14.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.535, allocations: 85.91 kB / 0.6 GB, free: 14.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.535, allocations: 25.7 kB / 0.6001 GB, free: 14.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.5351, allocations: 82.7 kB / 0.6001 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.5351, allocations: 15.84 kB / 0.6002 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.5351, allocations: 0 / 0.6002 GB, free: 14.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5352, allocations: 311.8 kB / 0.6004 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.5352, allocations: 8 kB / 0.6005 GB, free: 14.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.5353, allocations: 4 kB / 0.6005 GB, free: 14.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.5353, allocations: 18.58 kB / 0.6005 GB, free: 14.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5353, allocations: 3.938 kB / 0.6005 GB, free: 14.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.929e-05/0.5354, allocations: 53.69 kB / 0.6005 GB, free: 14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5354, allocations: 4 kB / 0.6005 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5354, allocations: 0 / 0.6005 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5355, allocations: 3.953 kB / 0.6005 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.5355, allocations: 8.875 kB / 0.6005 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5355, allocations: 1.875 kB / 0.6005 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.5356, allocations: 5.922 kB / 0.6006 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.5356, allocations: 2.688 kB / 0.6006 GB, free: 13.98 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.5356, allocations: 108.8 kB / 0.6007 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.5357, allocations: 0 / 0.6007 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.5357, allocations: 11.48 kB / 0.6007 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5357, allocations: 0 / 0.6007 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.5357, allocations: 4.703 kB / 0.6007 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5357, allocations: 0 / 0.6007 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.5358, allocations: 163.1 kB / 0.6008 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5359, allocations: 0 / 0.6008 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.5359, allocations: 9.312 kB / 0.6008 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5359, allocations: 0 / 0.6008 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.5359, allocations: 4.125 kB / 0.6008 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.5359, allocations: 8 kB / 0.6009 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5359, allocations: 1.484 kB / 0.6009 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.836e-05/0.536, allocations: 77.08 kB / 0.6009 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.5361, allocations: 81.09 kB / 0.601 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.5361, allocations: 4 kB / 0.601 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.5362, allocations: 0 / 0.601 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.5362, allocations: 1.969 kB / 0.601 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.5363, allocations: 6.188 kB / 0.601 GB, free: 13.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.426e-05/0.5363, allocations: 83.23 kB / 0.6011 GB, free: 13.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5363, allocations: 0 / 0.6011 GB, free: 13.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000175/0.5365, allocations: 8 kB / 0.6011 GB, free: 13.33 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001132/0.5366, allocations: 99.19 kB / 0.6012 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.5367, allocations: 28.88 kB / 0.6012 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5367, allocations: 0 / 0.6012 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.082e-05/0.5367, allocations: 12 kB / 0.6012 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.5369, allocations: 12.64 kB / 0.6012 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.5371, allocations: 80.31 kB / 0.6013 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.5374, allocations: 0.677 MB / 0.602 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.5374, allocations: 6.156 kB / 0.602 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.5375, allocations: 11.44 kB / 0.602 GB, free: 12.36 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5375, allocations: 3.938 kB / 0.602 GB, free: 12.36 MB / 426.7 MB Notification: Performance of Templates: time 0.002105/0.5396, allocations: 480.7 kB / 0.6025 GB, free: 11.93 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)