Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.414/1.414, allocations: 252 MB / 267.6 MB, free: 10.96 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.001074/0.001074, allocations: 174.4 kB / 327.3 MB, free: 2.219 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.121/2.121, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.0009234/0.0009233, allocations: 94.97 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004631, allocations: 9.781 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2461, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001299/0.2475, allocations: 0.9971 MB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2485, allocations: 0.7901 MB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.2485, allocations: 0 / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.2485, allocations: 4 kB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.2486, allocations: 3.938 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.249, allocations: 103.6 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.2491, allocations: 27.86 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.2491, allocations: 0 / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.2492, allocations: 15.97 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.2492, allocations: 11.94 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2493, allocations: 0 / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.2495, allocations: 175.7 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.2495, allocations: 0 / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.2496, allocations: 33.7 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.2497, allocations: 84.06 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2497, allocations: 0 / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2497, allocations: 4 kB / 0.903 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2498, allocations: 0 / 0.903 GB, free: 61.67 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.0003918/0.2501, allocations: 347.4 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2502, allocations: 8.031 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.2502, allocations: 8 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.979e-05/0.2503, allocations: 171 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.2504, allocations: 29.7 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2504, allocations: 0 / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.2506, allocations: 49.61 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2506, allocations: 0 / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2506, allocations: 0 / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.2506, allocations: 0 / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.2507, allocations: 23.98 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.2509, allocations: 165.5 kB / 0.9038 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.2511, allocations: 50.55 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.2512, allocations: 20.94 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.2514, allocations: 178.2 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2515, allocations: 34.56 kB / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.2515, allocations: 0 / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002346/0.2517, allocations: 65.67 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.2517, allocations: 55.34 kB / 0.9042 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.2518, allocations: 97.86 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2518, allocations: 33.62 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.346e-05/0.2518, allocations: 80.14 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.2519, allocations: 11.81 kB / 0.9044 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.2519, allocations: 8 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/0.252, allocations: 314.8 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.252, allocations: 7.984 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.2521, allocations: 12 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.2521, allocations: 7.984 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2521, allocations: 0 / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001126/0.2523, allocations: 65.69 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2523, allocations: 4 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2523, allocations: 0 / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2523, allocations: 0 / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.2524, allocations: 15.92 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2524, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.2524, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.2524, allocations: 4 kB / 0.9048 GB, free: 59.58 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 5.228e-05/0.2525, allocations: 113.8 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.2525, allocations: 4 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.2527, allocations: 69.67 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2527, allocations: 0 / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2527, allocations: 48 / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2527, allocations: 3.984 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.789e-05/0.2528, allocations: 169.5 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2528, allocations: 3.984 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.2528, allocations: 7.938 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2528, allocations: 4 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2528, allocations: 0 / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2529, allocations: 7.938 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2529, allocations: 0 / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.253, allocations: 81.11 kB / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.253, allocations: 89 kB / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.2531, allocations: 4 kB / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.2531, allocations: 3.984 kB / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.2532, allocations: 4 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.2532, allocations: 4 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.96e-05/0.2532, allocations: 83.2 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2532, allocations: 0 / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002103/0.2534, allocations: 36 kB / 0.9055 GB, free: 58.8 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 0.0001871/0.2536, allocations: 140.2 kB / 0.9056 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.2538, allocations: 23.98 kB / 0.9056 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2538, allocations: 4 kB / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.2538, allocations: 15.98 kB / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.254, allocations: 4 kB / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.2543, allocations: 168.1 kB / 0.9058 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.2544, allocations: 0.677 MB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.2545, allocations: 15.44 kB / 0.9065 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2545, allocations: 4 kB / 0.9065 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.002174/0.2567, allocations: 0.9708 MB / 0.9074 GB, free: 56.71 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)