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.4964/0.4964, allocations: 94.77 MB / 102.2 MB, free: 10.14 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.001422/0.001422, allocations: 180.1 kB / 125.6 MB, free: 11.87 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.38/1.38, allocations: 170.6 MB / 319.4 MB, free: 9.324 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.001599/0.001599, allocations: 103.2 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.332e-05/2.335e-05, allocations: 4 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1581, allocations: 61.53 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.6231, allocations: 93.43 MB / 0.5899 GB, free: 8.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.6235, allocations: 75.95 kB / 0.59 GB, free: 8.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004343/0.6278, allocations: 1.467 MB / 0.5914 GB, free: 7.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6279, allocations: 2.344 kB / 0.5914 GB, free: 7.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.6279, allocations: 0.7812 kB / 0.5914 GB, free: 7.016 MB / 410.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.0002854/0.6282, allocations: 327.2 kB / 0.5917 GB, free: 6.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.6282, allocations: 8.812 kB / 0.5917 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.6285, allocations: 17.05 kB / 0.5918 GB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.6286, allocations: 163.7 kB / 0.5919 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.6286, allocations: 0 / 0.5919 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.6286, allocations: 11.61 kB / 0.5919 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.452e-05/0.6287, allocations: 12.56 kB / 0.5919 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.939e-05/0.6288, allocations: 38.81 kB / 0.592 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6288, allocations: 5.734 kB / 0.592 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.6288, allocations: 2.812 kB / 0.592 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6289, allocations: 0 / 0.592 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.629, allocations: 139.1 kB / 0.5921 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.6308, allocations: 273.5 kB / 0.5924 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.6309, allocations: 17.86 kB / 0.5924 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.6309, allocations: 0 / 0.5924 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.6309, allocations: 36.09 kB / 0.5924 GB, free: 5.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.6309, allocations: 0 / 0.5924 GB, free: 5.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001379/0.6311, allocations: 54.52 kB / 0.5925 GB, free: 5.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.6311, allocations: 51.41 kB / 0.5925 GB, free: 5.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.6312, allocations: 93 kB / 0.5926 GB, free: 5.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.6312, allocations: 25.7 kB / 0.5926 GB, free: 5.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.6312, allocations: 82.67 kB / 0.5927 GB, free: 5.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.6313, allocations: 13.7 kB / 0.5927 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.6313, allocations: 1.5 kB / 0.5927 GB, free: 5.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6314, allocations: 310.8 kB / 0.593 GB, free: 5.211 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.6314, allocations: 12 kB / 0.593 GB, free: 5.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.6315, allocations: 11.75 kB / 0.593 GB, free: 5.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.026e-05/0.6315, allocations: 15.59 kB / 0.5931 GB, free: 5.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6315, allocations: 0 / 0.5931 GB, free: 5.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.05e-05/0.6316, allocations: 49.69 kB / 0.5931 GB, free: 5.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.6316, allocations: 8 kB / 0.5931 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6316, allocations: 0 / 0.5931 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6316, allocations: 0 / 0.5931 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.6317, allocations: 4 kB / 0.5931 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6317, allocations: 7.938 kB / 0.5931 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.6317, allocations: 7.906 kB / 0.5931 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.6317, allocations: 128 / 0.5931 GB, free: 5.098 MB / 410.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 8.348e-05/0.6318, allocations: 105 kB / 0.5932 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.6318, allocations: 4 kB / 0.5932 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.6319, allocations: 11.88 kB / 0.5933 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6319, allocations: 0 / 0.5933 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6319, allocations: 0 / 0.5933 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6319, allocations: 3.953 kB / 0.5933 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.632, allocations: 136.4 kB / 0.5934 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.632, allocations: 0 / 0.5934 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.6321, allocations: 7.938 kB / 0.5934 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6321, allocations: 8 kB / 0.5934 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.6321, allocations: 0 / 0.5934 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.6321, allocations: 0 / 0.5934 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6321, allocations: 0 / 0.5934 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.6322, allocations: 77.08 kB / 0.5935 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-05/0.6323, allocations: 81.09 kB / 0.5936 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.6324, allocations: 0 / 0.5936 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.38e-05/0.6324, allocations: 4 kB / 0.5936 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.6324, allocations: 4 kB / 0.5936 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.6324, allocations: 0 / 0.5936 GB, free: 4.586 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.6325, allocations: 81.84 kB / 0.5936 GB, free: 4.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6325, allocations: 0 / 0.5936 GB, free: 4.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.6327, allocations: 4 kB / 0.5936 GB, free: 4.504 MB / 410.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.0001283/0.6328, allocations: 104.7 kB / 0.5937 GB, free: 4.395 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.6329, allocations: 24 kB / 0.5938 GB, free: 4.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6329, allocations: 4.031 kB / 0.5938 GB, free: 4.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.6329, allocations: 16 kB / 0.5938 GB, free: 4.352 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.6332, allocations: 11.94 kB / 0.5938 GB, free: 4.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.6334, allocations: 67.62 kB / 0.5939 GB, free: 4.254 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.6337, allocations: 0.6807 MB / 0.5945 GB, free: 3.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.6338, allocations: 5.312 kB / 0.5945 GB, free: 3.543 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.6338, allocations: 11.44 kB / 0.5945 GB, free: 3.535 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6338, allocations: 0 / 0.5945 GB, free: 3.535 MB / 410.7 MB Notification: Performance of Templates: time 0.002294/0.6361, allocations: 480.3 kB / 0.595 GB, free: 3.105 MB / 410.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)