Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.832/1.832, allocations: 288.3 MB / 303.2 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001885/0.001885, allocations: 177 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009318/0.0009319, allocations: 97.33 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006571/0.0006573, allocations: 19.92 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2182, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001144/0.2194, allocations: 0.969 MB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004172/0.2199, allocations: 257.1 kB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.2199, allocations: 0 / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.2199, allocations: 0 / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.22, allocations: 3.984 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.2203, allocations: 51.81 kB / 0.9807 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.235e-05/0.2203, allocations: 7.984 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.2204, allocations: 7.984 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.982e-05/0.2204, allocations: 7.984 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.2204, allocations: 11.94 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2205, allocations: 0 / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.2206, allocations: 51.95 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.2206, allocations: 0 / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.2206, allocations: 29.7 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.581e-05/0.2207, allocations: 40.17 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.2207, allocations: 4 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2207, allocations: 0 / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2207, allocations: 0 / 0.9808 GB, free: 26.24 MB / 0.6198 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.0002799/0.221, allocations: 327.4 kB / 0.9811 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2211, allocations: 12.03 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.2213, allocations: 23.97 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.2213, allocations: 174.9 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2214, allocations: 7.938 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.2214, allocations: 0 / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.665e-05/0.2215, allocations: 41.69 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2215, allocations: 3.938 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2215, allocations: 0 / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2215, allocations: 0 / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.2216, allocations: 19.98 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.2217, allocations: 161.7 kB / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.2234, allocations: 270.3 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2234, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.2235, allocations: 42.55 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2235, allocations: 0 / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000139/0.2236, allocations: 61.78 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.2236, allocations: 51.41 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.46e-05/0.2237, allocations: 89.86 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.2237, allocations: 33.64 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.25e-05/0.2237, allocations: 80.14 kB / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.2237, allocations: 11.81 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.2238, allocations: 4.125 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.2238, allocations: 318.8 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.2238, allocations: 4 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.2238, allocations: 8 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.2239, allocations: 15.95 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2239, allocations: 0 / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.66e-05/0.224, allocations: 53.69 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.224, allocations: 6.188 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.224, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.224, allocations: 0 / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.2241, allocations: 11.98 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2241, allocations: 7.938 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.2241, allocations: 0 / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.2241, allocations: 0 / 0.9826 GB, free: 24.22 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.2242, allocations: 117.8 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.2242, allocations: 4 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.2242, allocations: 7.5 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2242, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2242, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2242, allocations: 7.938 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.578e-05/0.2243, allocations: 161.6 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2243, allocations: 3.953 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.2244, allocations: 7.984 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2244, allocations: 0 / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2244, allocations: 3.938 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2244, allocations: 0 / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2244, allocations: 0 / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.84e-05/0.2245, allocations: 92.97 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.2245, allocations: 81.06 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.2245, allocations: 0 / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.2246, allocations: 3.984 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.2246, allocations: 8 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2246, allocations: 0 / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.754e-05/0.2247, allocations: 75.28 kB / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2247, allocations: 0 / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001729/0.2248, allocations: 8 kB / 0.9831 GB, free: 23.55 MB / 0.6198 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 (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 9.098e-05/0.2249, allocations: 103.3 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.433e-05/0.225, allocations: 23.98 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.225, allocations: 0 / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.2251, allocations: 16.41 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.2252, allocations: 11.98 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.2255, allocations: 132.6 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.601e-05/0.2256, allocations: 0.6809 MB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.102e-05/0.2257, allocations: 8.078 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.2257, allocations: 11.44 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2257, allocations: 0 / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.001955/0.2276, allocations: 475 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)