Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108 kB / 15.6 MB, free: 132 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.001287/0.001287, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 69.5 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3207, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002399/0.3231, allocations: 1.27 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3244, allocations: 0.8277 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.3244, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.3244, allocations: 7.938 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.3245, allocations: 7.922 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.3249, allocations: 127.5 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.129e-05/0.325, allocations: 23.86 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.325, allocations: 7.938 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.3251, allocations: 8 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.3251, allocations: 15.91 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3252, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.3255, allocations: 171.8 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.3255, allocations: 3.984 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.3256, allocations: 19.86 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.3258, allocations: 116 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3258, allocations: 0 / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3258, allocations: 3.938 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3258, allocations: 0 / 1.071 GB, free: 7.824 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004201/0.3263, allocations: 359.5 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3263, allocations: 8.031 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3264, allocations: 12.84 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3265, allocations: 164.4 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.3265, allocations: 30.27 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3266, allocations: 384 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3267, allocations: 42.25 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3267, allocations: 11.92 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3267, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3267, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.3268, allocations: 19.92 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.327, allocations: 165.7 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3272, allocations: 42.61 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.3273, allocations: 20.94 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/0.3276, allocations: 178.2 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3276, allocations: 34.56 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3276, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002423/0.3279, allocations: 73.55 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.3279, allocations: 51.41 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.275e-05/0.328, allocations: 101.8 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.328, allocations: 25.7 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.328, allocations: 84.14 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.3281, allocations: 11.81 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.3281, allocations: 17.72 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3283, allocations: 310.8 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.3283, allocations: 15.98 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.147e-05/0.3284, allocations: 11.92 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.3285, allocations: 24.86 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3285, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001422/0.3286, allocations: 65.61 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3287, allocations: 7.938 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3287, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3287, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.398e-05/0.3287, allocations: 8 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3288, allocations: 0 / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.3288, allocations: 15.83 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3288, allocations: 0 / 1.073 GB, free: 5.68 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 (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 7.3e-05/0.3289, allocations: 118.3 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.3289, allocations: 7.938 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.3291, allocations: 65.62 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3291, allocations: 4 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3291, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3291, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.3292, allocations: 153.7 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3293, allocations: 7.984 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.3293, allocations: 11.98 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.3293, allocations: 3.938 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.3293, allocations: 4 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3294, allocations: 0 / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3294, allocations: 0 / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.3295, allocations: 89.05 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.3296, allocations: 85.02 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.3296, allocations: 3.938 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.3297, allocations: 3.984 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.3297, allocations: 8 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3297, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.3298, allocations: 83.28 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3298, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000234/0.33, allocations: 35.92 kB / 1.073 GB, free: 4.902 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 (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 0.0002062/0.3302, allocations: 139.1 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.3304, allocations: 31.98 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3304, allocations: 0 / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.209e-05/0.3304, allocations: 15.94 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.3307, allocations: 11.98 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.331, allocations: 119.1 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3312, allocations: 0.6768 MB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.854e-05/0.3313, allocations: 15.86 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.3313, allocations: 7.438 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3313, allocations: 4 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.003351/0.3347, allocations: 1.071 MB / 1.075 GB, free: 2.754 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)