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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001588/0.001589, allocations: 191.1 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6855/0.6855, allocations: 95.48 MB / 364.8 MB, free: 10.11 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 67.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3471, allocations: 69.07 MB / 0.5017 GB, free: 17.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002412/0.3496, allocations: 1.314 MB / 0.503 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006304/0.3502, allocations: 299.1 kB / 0.5033 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.3502, allocations: 0 / 0.5033 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.3503, allocations: 0 / 0.5033 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.3503, allocations: 11.92 kB / 0.5033 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.3506, allocations: 39.83 kB / 0.5033 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.3507, allocations: 15.92 kB / 0.5033 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.3507, allocations: 0 / 0.5033 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.3508, allocations: 8 kB / 0.5033 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.3509, allocations: 15.91 kB / 0.5034 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3509, allocations: 0 / 0.5034 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.351, allocations: 59.95 kB / 0.5034 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.351, allocations: 0 / 0.5034 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.351, allocations: 11.94 kB / 0.5034 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.3512, allocations: 45.92 kB / 0.5035 GB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3512, allocations: 0 / 0.5035 GB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.3512, allocations: 0 / 0.5035 GB, free: 15.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3512, allocations: 0 / 0.5035 GB, free: 15.92 MB / 382.1 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.0003398/0.3515, allocations: 343.4 kB / 0.5038 GB, free: 15.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3516, allocations: 11.98 kB / 0.5038 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.3518, allocations: 20.91 kB / 0.5038 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.869e-05/0.3519, allocations: 172.3 kB / 0.504 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.3519, allocations: 384 / 0.504 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.3519, allocations: 8.312 kB / 0.504 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.352, allocations: 46.23 kB / 0.504 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.352, allocations: 192 / 0.504 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.352, allocations: 3.938 kB / 0.504 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3521, allocations: 0 / 0.504 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.248e-05/0.3521, allocations: 16 kB / 0.5041 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.3522, allocations: 153.7 kB / 0.5042 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3541, allocations: 274.4 kB / 0.5045 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.3541, allocations: 20.84 kB / 0.5045 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.3541, allocations: 4 kB / 0.5045 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.3542, allocations: 34.56 kB / 0.5045 GB, free: 14.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.3542, allocations: 0 / 0.5045 GB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001551/0.3543, allocations: 61.62 kB / 0.5046 GB, free: 14.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.3544, allocations: 55.41 kB / 0.5046 GB, free: 14.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.911e-05/0.3544, allocations: 93.8 kB / 0.5047 GB, free: 14.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3544, allocations: 25.7 kB / 0.5048 GB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.816e-05/0.3545, allocations: 84.27 kB / 0.5048 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.3545, allocations: 23.73 kB / 0.5049 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.3545, allocations: 9.719 kB / 0.5049 GB, free: 14.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.3546, allocations: 318.8 kB / 0.5052 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.3546, allocations: 4 kB / 0.5052 GB, free: 13.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.3546, allocations: 11.98 kB / 0.5052 GB, free: 13.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.136e-05/0.3547, allocations: 24.86 kB / 0.5052 GB, free: 13.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3547, allocations: 0 / 0.5052 GB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.64e-05/0.3548, allocations: 53.69 kB / 0.5053 GB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3548, allocations: 8 kB / 0.5053 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3548, allocations: 8.203 kB / 0.5053 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3548, allocations: 0 / 0.5053 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.682e-05/0.3549, allocations: 8 kB / 0.5053 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3549, allocations: 0 / 0.5053 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.3549, allocations: 4 kB / 0.5053 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3549, allocations: 0 / 0.5053 GB, free: 13.83 MB / 382.1 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 5.738e-05/0.355, allocations: 113.8 kB / 0.5054 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.355, allocations: 11.88 kB / 0.5054 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.355, allocations: 19.38 kB / 0.5054 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3551, allocations: 0 / 0.5054 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3551, allocations: 0 / 0.5054 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3551, allocations: 4 kB / 0.5054 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.043e-05/0.3551, allocations: 153.7 kB / 0.5056 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3552, allocations: 0 / 0.5056 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.3552, allocations: 7.938 kB / 0.5056 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3552, allocations: 0 / 0.5056 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3552, allocations: 3.938 kB / 0.5056 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3552, allocations: 4 kB / 0.5056 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3552, allocations: 0 / 0.5056 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.693e-05/0.3553, allocations: 85.06 kB / 0.5057 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.3554, allocations: 81.09 kB / 0.5057 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3554, allocations: 3.938 kB / 0.5057 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.3555, allocations: 4 kB / 0.5058 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.3555, allocations: 0 / 0.5058 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3555, allocations: 0 / 0.5058 GB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.298e-05/0.3555, allocations: 87.28 kB / 0.5058 GB, free: 13.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3555, allocations: 0 / 0.5058 GB, free: 13.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001752/0.3557, allocations: 4 kB / 0.5058 GB, free: 13.16 MB / 382.1 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 (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 Backend phase and start with SimCode phase: time 9.209e-05/0.3558, allocations: 99.23 kB / 0.5059 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.555e-05/0.3559, allocations: 27.94 kB / 0.506 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3559, allocations: 0 / 0.506 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.3559, allocations: 11.98 kB / 0.506 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.3562, allocations: 19.31 kB / 0.506 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.3565, allocations: 132.2 kB / 0.5061 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3566, allocations: 0.677 MB / 0.5068 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.3567, allocations: 8 kB / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.3567, allocations: 7.438 kB / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3567, allocations: 0 / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of Templates: time 0.002224/0.3589, allocations: 0.4906 MB / 0.5073 GB, free: 11.63 MB / 382.1 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)