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.456/1.456, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001087/0.001086, allocations: 176 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.273/2.273, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0009255/0.0009255, allocations: 86.36 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 8.562 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001321/0.2494, allocations: 0.9866 MB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005441/0.2499, allocations: 307.8 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.434e-05/0.2499, allocations: 0 / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.25, allocations: 0 / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.25, allocations: 11.98 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2503, allocations: 31.83 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.1e-05/0.2503, allocations: 19.88 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.2504, allocations: 4 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.2504, allocations: 11.92 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.2505, allocations: 11.98 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.2505, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.2506, allocations: 55.95 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.2507, allocations: 4 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.2507, allocations: 11.92 kB / 0.8982 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.14e-05/0.2508, allocations: 31.92 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2508, allocations: 0 / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2508, allocations: 0 / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2508, allocations: 0 / 0.8982 GB, free: 66.69 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.000308/0.2511, allocations: 331.5 kB / 0.8985 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2512, allocations: 8.031 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.2514, allocations: 24.91 kB / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.413e-05/0.2515, allocations: 168.3 kB / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2515, allocations: 4.375 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.2515, allocations: 4.375 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.2516, allocations: 42.19 kB / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2516, allocations: 192 / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2516, allocations: 11.88 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.2517, allocations: 0 / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.2517, allocations: 15.98 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.2519, allocations: 157.7 kB / 0.8989 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.2536, allocations: 270.4 kB / 0.8992 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.2537, allocations: 20.86 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.2537, allocations: 3.938 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.2537, allocations: 34.56 kB / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2537, allocations: 0 / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001427/0.2539, allocations: 65.61 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.2539, allocations: 55.41 kB / 0.8994 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.821e-05/0.254, allocations: 97.86 kB / 0.8994 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.254, allocations: 25.7 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.254, allocations: 80.14 kB / 0.8995 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.254, allocations: 15.75 kB / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.254, allocations: 13.72 kB / 0.8996 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.14e-05/0.2541, allocations: 314.8 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.2541, allocations: 11.94 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.2541, allocations: 4 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.2542, allocations: 24.86 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2542, allocations: 4.125 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.197e-05/0.2543, allocations: 53.97 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2543, allocations: 4 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2543, allocations: 3.938 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2543, allocations: 4.047 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.2544, allocations: 11.97 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2544, allocations: 0 / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/0.2544, allocations: 11.84 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.2544, allocations: 4 kB / 0.9 GB, free: 64.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.2545, allocations: 113.8 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.2545, allocations: 4 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.2545, allocations: 11.44 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2545, allocations: 4 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2545, allocations: 0 / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2545, allocations: 3.938 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.934e-05/0.2546, allocations: 153.7 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2546, allocations: 0 / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.2547, allocations: 15.92 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2547, allocations: 0 / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2547, allocations: 3.938 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2547, allocations: 4 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2547, allocations: 0 / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.2548, allocations: 81.06 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.2549, allocations: 81.11 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2549, allocations: 3.938 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.2549, allocations: 3.984 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.255, allocations: 0 / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.255, allocations: 8 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.801e-05/0.255, allocations: 79.28 kB / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.255, allocations: 0 / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001775/0.2552, allocations: 8 kB / 0.9006 GB, free: 63.93 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 (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.335e-05/0.2553, allocations: 95.25 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.162e-05/0.2554, allocations: 23.98 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2554, allocations: 4 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.2554, allocations: 15.94 kB / 0.9007 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2556, allocations: 16.02 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.2559, allocations: 158 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.256, allocations: 0.677 MB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.2561, allocations: 7.438 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2561, allocations: 4 kB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.001494/0.2576, allocations: 0.5232 MB / 0.902 GB, free: 62.34 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)