Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_8_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.001073/0.001073, allocations: 105.4 kB / 15.7 MB, free: 24 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.001095/0.001096, allocations: 197.5 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 72.67 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2344, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003105/0.2375, allocations: 1.274 MB / 0.7854 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.2392, allocations: 0.8243 MB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.2392, allocations: 0 / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.2393, allocations: 7.938 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.2394, allocations: 3.984 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000687/0.2401, allocations: 131.4 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2402, allocations: 27.86 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.2402, allocations: 4 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.2403, allocations: 15.92 kB / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.2404, allocations: 11.94 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.2404, allocations: 0 / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.2408, allocations: 167.8 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.2408, allocations: 3.984 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.2409, allocations: 11.94 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.2412, allocations: 115.7 kB / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2412, allocations: 0 / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2412, allocations: 0 / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2412, allocations: 0 / 0.7867 GB, free: 10.17 MB / 0.6075 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.0004924/0.2417, allocations: 375.3 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2418, allocations: 12.03 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.2418, allocations: 0.9375 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.242, allocations: 160.4 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.242, allocations: 30.27 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.2421, allocations: 4.375 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2422, allocations: 46.23 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2422, allocations: 19.86 kB / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2422, allocations: 0 / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2423, allocations: 0 / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-05/0.2424, allocations: 19.98 kB / 0.7873 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.2425, allocations: 153.7 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.2428, allocations: 50.5 kB / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.2429, allocations: 12.86 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.2432, allocations: 182.3 kB / 0.7877 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2432, allocations: 34.56 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.2432, allocations: 0 / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002754/0.2435, allocations: 73.45 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.2435, allocations: 55.41 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2436, allocations: 105.8 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2437, allocations: 25.7 kB / 0.788 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.2437, allocations: 80.14 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.2437, allocations: 11.84 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.2438, allocations: 17.7 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2439, allocations: 314.8 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.244, allocations: 8 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.244, allocations: 11.98 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2441, allocations: 32.84 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2441, allocations: 0 / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001427/0.2443, allocations: 57.53 kB / 0.7885 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2443, allocations: 11.88 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.2443, allocations: 4 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2443, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.2444, allocations: 11.98 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2444, allocations: 3.984 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.2445, allocations: 8 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2445, allocations: 0 / 0.7885 GB, free: 8.004 MB / 0.6075 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 9.346e-05/0.2446, allocations: 109.8 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.2446, allocations: 3.938 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.2448, allocations: 73.62 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2448, allocations: 0 / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.2448, allocations: 3.984 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2448, allocations: 0 / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.245, allocations: 165.6 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.245, allocations: 48 / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.245, allocations: 11.98 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.245, allocations: 3.938 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2451, allocations: 0 / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2451, allocations: 0 / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2451, allocations: 4 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.2452, allocations: 85.02 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.2453, allocations: 85.09 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2453, allocations: 3.938 kB / 0.789 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.2454, allocations: 8 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.2454, allocations: 7.938 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2454, allocations: 0 / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.2455, allocations: 83.27 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2455, allocations: 0 / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002545/0.2458, allocations: 35.94 kB / 0.7892 GB, free: 7.223 MB / 0.6075 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.0002299/0.246, allocations: 135.2 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.2461, allocations: 27.98 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2462, allocations: 0 / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.2462, allocations: 19.92 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.2464, allocations: 6.656 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.2467, allocations: 135.1 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.247, allocations: 0.6768 MB / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.247, allocations: 4 kB / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.2471, allocations: 11.44 kB / 0.7901 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2471, allocations: 0 / 0.7901 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of Templates: time 0.003492/0.2506, allocations: 1.069 MB / 0.7912 GB, free: 5.086 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)