Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009408/0.0009413, allocations: 187.4 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008432/0.0008431, allocations: 86.31 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003843, allocations: 9.438 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2476, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001302/0.2489, allocations: 0.9854 MB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004886/0.2494, allocations: 280.5 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.2495, allocations: 0 / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.136e-05/0.2495, allocations: 0 / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.2495, allocations: 11.92 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.2498, allocations: 35.83 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.2499, allocations: 15.92 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.2499, allocations: 7.938 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.25, allocations: 11.94 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.25, allocations: 3.984 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2501, allocations: 4 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.2502, allocations: 51.95 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.2502, allocations: 4 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.2502, allocations: 29.7 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.49e-05/0.2503, allocations: 31.95 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2503, allocations: 4 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2503, allocations: 0 / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2504, allocations: 0 / 0.9023 GB, free: 62.42 MB / 0.6042 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.000326/0.2507, allocations: 335.6 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2507, allocations: 8.031 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.251, allocations: 15.98 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.301e-05/0.251, allocations: 171 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2511, allocations: 4 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.2511, allocations: 0 / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2512, allocations: 49.67 kB / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2512, allocations: 0 / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2512, allocations: 0 / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2513, allocations: 0 / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/0.2513, allocations: 15.98 kB / 0.9028 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.2515, allocations: 153.6 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.2533, allocations: 282.4 kB / 0.9033 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.2533, allocations: 20.84 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2534, allocations: 4 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.2534, allocations: 34.56 kB / 0.9033 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.993e-06/0.2534, allocations: 4 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001525/0.2536, allocations: 65.56 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.2536, allocations: 55.41 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/0.2537, allocations: 93.8 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.2537, allocations: 29.69 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.232e-05/0.2537, allocations: 84.27 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.2537, allocations: 19.75 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.2537, allocations: 0 / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.2538, allocations: 310.8 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.2538, allocations: 8 kB / 0.9039 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.523e-05/0.2538, allocations: 11.98 kB / 0.904 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.2539, allocations: 11.95 kB / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2539, allocations: 4 kB / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.423e-05/0.2539, allocations: 53.62 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.254, allocations: 12 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.254, allocations: 0 / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.254, allocations: 0 / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.2541, allocations: 4 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2541, allocations: 3.984 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.2541, allocations: 3.906 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2541, allocations: 4 kB / 0.9041 GB, free: 60.37 MB / 0.6042 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 6.132e-05/0.2542, allocations: 109.8 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.2542, allocations: 4 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.2542, allocations: 15.48 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2543, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2543, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2543, allocations: 336 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.71e-05/0.2544, allocations: 157.7 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2544, allocations: 3.953 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.2544, allocations: 8 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2544, allocations: 0 / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2544, allocations: 3.984 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2544, allocations: 0 / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2544, allocations: 0 / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.751e-05/0.2545, allocations: 81.06 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.2546, allocations: 92.98 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.2546, allocations: 4 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.2547, allocations: 0 / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.2547, allocations: 4 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2547, allocations: 0 / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.119e-05/0.2547, allocations: 79.28 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2547, allocations: 0 / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001953/0.2549, allocations: 8 kB / 0.9046 GB, free: 59.71 MB / 0.6042 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.54e-05/0.255, allocations: 99.23 kB / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.2551, allocations: 23.94 kB / 0.9047 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2552, allocations: 7.938 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.899e-05/0.2552, allocations: 15.98 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.2554, allocations: 4.094 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.2557, allocations: 170.4 kB / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.2559, allocations: 0.677 MB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.2559, allocations: 7.438 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2559, allocations: 0 / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.001709/0.2576, allocations: 0.5296 MB / 0.9061 GB, free: 58.11 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)