Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001022/0.001022, allocations: 174.1 kB / 326.5 MB, free: 2.676 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.058/2.058, 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.0008866/0.0008863, allocations: 81.55 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004329, allocations: 9.906 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2442, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001528/0.2458, allocations: 1.219 MB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2469, allocations: 0.8406 MB / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.247, allocations: 4 kB / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.247, allocations: 0 / 0.8987 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.2471, allocations: 3.938 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.2474, allocations: 115.5 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.939e-05/0.2475, allocations: 51.78 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.2476, allocations: 15.98 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.2477, allocations: 11.94 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.2477, allocations: 23.91 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.2478, allocations: 0 / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.2481, allocations: 183.6 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.2481, allocations: 7.922 kB / 0.8991 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.2481, allocations: 11.94 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.2483, allocations: 111.7 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2483, allocations: 4 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2483, allocations: 0 / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2484, allocations: 0 / 0.8993 GB, free: 65.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005612/0.2489, allocations: 395.3 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.249, allocations: 12.03 kB / 0.8997 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.249, allocations: 8.844 kB / 0.8997 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.2491, allocations: 176.2 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2491, allocations: 384 / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2492, allocations: 4.375 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.2494, allocations: 82.22 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2494, allocations: 192 / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2495, allocations: 3.938 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2495, allocations: 0 / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.2498, allocations: 99.91 kB / 0.9 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.2501, allocations: 284.7 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.2503, allocations: 74.53 kB / 0.9004 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.2505, allocations: 44.92 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.2507, allocations: 97.08 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.2507, allocations: 34.55 kB / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.2507, allocations: 3.938 kB / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005172/0.2512, allocations: 173.4 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.2513, allocations: 51.41 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.2513, allocations: 117.7 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.2514, allocations: 33.7 kB / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.2514, allocations: 84.14 kB / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.2514, allocations: 7.984 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.2514, allocations: 9.719 kB / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.2515, allocations: 322.8 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2516, allocations: 43.97 kB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2518, allocations: 47.95 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.252, allocations: 88.73 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.252, allocations: 0 / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002922/0.2523, allocations: 129.5 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2524, allocations: 4 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2524, allocations: 3.938 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2524, allocations: 0 / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.2525, allocations: 19.98 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2525, allocations: 0 / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.2526, allocations: 23.92 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.2526, allocations: 0 / 0.9016 GB, free: 62.87 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 (3): * Single equations (assignments): 3 * 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.969e-05/0.2527, allocations: 121.8 kB / 0.9018 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.2527, allocations: 3.906 kB / 0.9018 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.2531, allocations: 133.5 kB / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2531, allocations: 0 / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2531, allocations: 4 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2531, allocations: 4 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.2532, allocations: 177.6 kB / 0.9021 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2532, allocations: 0 / 0.9021 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.2533, allocations: 19.98 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2533, allocations: 0 / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2533, allocations: 0 / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2534, allocations: 0 / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2534, allocations: 3.938 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.2537, allocations: 231.3 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.2537, allocations: 81.02 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2538, allocations: 432 / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2539, allocations: 15.98 kB / 0.9024 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.2539, allocations: 7.984 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.2539, allocations: 0 / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.254, allocations: 99.27 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.254, allocations: 0 / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002509/0.2542, allocations: 32 kB / 0.9025 GB, free: 61.85 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 (3): * Single equations (assignments): 3 * 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 0.000207/0.2544, allocations: 124.3 kB / 0.9026 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.2548, allocations: 99.89 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2548, allocations: 0 / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.2549, allocations: 51.91 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2552, allocations: 11.94 kB / 0.9028 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.2556, allocations: 182.7 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2557, allocations: 0.6848 MB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.2557, allocations: 11.38 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2557, allocations: 0 / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.002554/0.2583, allocations: 1.209 MB / 0.9048 GB, free: 59.43 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)