Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.00117, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 194.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001695, allocations: 62.81 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3229, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002956/0.3259, allocations: 1.486 MB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3272, allocations: 0.8138 MB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.3273, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.3273, allocations: 7.922 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.3274, allocations: 11.92 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.3279, allocations: 127.4 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.328, allocations: 47.86 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3281, allocations: 15.98 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.3282, allocations: 23.92 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.3282, allocations: 23.86 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3282, allocations: 4 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.3286, allocations: 175.7 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.3286, allocations: 11.98 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.3287, allocations: 15.88 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.329, allocations: 155.8 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.329, allocations: 0 / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.329, allocations: 0 / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.329, allocations: 4 kB / 1.071 GB, free: 7.492 MB / 0.8262 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.0005874/0.3296, allocations: 399.2 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3296, allocations: 8.031 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.3297, allocations: 4.938 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3298, allocations: 172.3 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3298, allocations: 4.312 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3298, allocations: 8.375 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.3301, allocations: 86.17 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3301, allocations: 192 / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3301, allocations: 3.938 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3301, allocations: 0 / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.3305, allocations: 63.92 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.3308, allocations: 300.6 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.3311, allocations: 50.55 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.3312, allocations: 40.91 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.3314, allocations: 93.09 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3314, allocations: 34.56 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3315, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005392/0.332, allocations: 133.5 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.332, allocations: 55.39 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.3321, allocations: 121.7 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3322, allocations: 25.7 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.3322, allocations: 95.98 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.3322, allocations: 7.906 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3323, allocations: 17.7 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3324, allocations: 318.8 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3325, allocations: 35.95 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3327, allocations: 31.97 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.3329, allocations: 68.78 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.333, allocations: 4 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003158/0.3333, allocations: 97.56 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3333, allocations: 5.406 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3333, allocations: 0 / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3333, allocations: 0 / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3335, allocations: 19.97 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3335, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.993e-05/0.3336, allocations: 19.89 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3336, allocations: 0 / 1.073 GB, free: 4.969 MB / 0.8262 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 8.035e-05/0.3337, allocations: 117.8 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.3337, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.3341, allocations: 113.8 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3341, allocations: 48 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3341, allocations: 7.984 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3341, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.3343, allocations: 173.6 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3343, allocations: 0 / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.54e-05/0.3344, allocations: 15.98 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3344, allocations: 0 / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3344, allocations: 3.984 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3344, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3344, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3348, allocations: 195.3 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.3349, allocations: 89.05 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3349, allocations: 0 / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.335, allocations: 15.97 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.3351, allocations: 7.938 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.3351, allocations: 8 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.3351, allocations: 95.2 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3351, allocations: 0 / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002875/0.3354, allocations: 35.91 kB / 1.074 GB, free: 4 MB / 0.8262 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.0002254/0.3357, allocations: 136.8 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.336, allocations: 71.92 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.336, allocations: 0 / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3362, allocations: 31.97 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3366, allocations: 19.86 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.337, allocations: 151.1 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.3373, allocations: 0.6846 MB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.3374, allocations: 0 / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.3374, allocations: 11.44 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3374, allocations: 4 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of Templates: time 0.004885/0.3423, allocations: 1.366 MB / 1.076 GB, free: 1.484 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)