Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.0008858, allocations: 98.58 kB / 16.02 MB, free: 80 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.001108/0.001108, allocations: 185.9 kB / 16.92 MB, free: 6.688 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.455/1.455, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7217/0.7217, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 8 kB / 495.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1834, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002041/0.1855, allocations: 1.204 MB / 0.5612 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1871, allocations: 0.811 MB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.1872, allocations: 3.938 kB / 0.562 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.1872, allocations: 0 / 0.562 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.1873, allocations: 7.938 kB / 0.562 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.1879, allocations: 115.5 kB / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1881, allocations: 55.8 kB / 0.5622 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1882, allocations: 15.97 kB / 0.5622 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.1882, allocations: 8 kB / 0.5622 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.1883, allocations: 27.84 kB / 0.5622 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1883, allocations: 0 / 0.5622 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.1888, allocations: 171.7 kB / 0.5624 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.1888, allocations: 4 kB / 0.5624 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.1889, allocations: 45.56 kB / 0.5624 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.1892, allocations: 159.8 kB / 0.5626 GB, free: 6.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1892, allocations: 0 / 0.5626 GB, free: 6.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.1892, allocations: 0 / 0.5626 GB, free: 6.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1892, allocations: 0 / 0.5626 GB, free: 6.297 MB / 430.1 MB 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.000656/0.1899, allocations: 403.3 kB / 0.563 GB, free: 5.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.19, allocations: 8.031 kB / 0.563 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.19, allocations: 34.75 kB / 0.563 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.1901, allocations: 8.844 kB / 0.563 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1902, allocations: 172.3 kB / 0.5632 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1902, allocations: 384 / 0.5632 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.1903, allocations: 4.375 kB / 0.5632 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.1906, allocations: 82.22 kB / 0.5633 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1906, allocations: 7.875 kB / 0.5633 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1906, allocations: 0 / 0.5633 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1906, allocations: 0 / 0.5633 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.191, allocations: 99.86 kB / 0.5634 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.1914, allocations: 280.8 kB / 0.5636 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.1916, allocations: 74.47 kB / 0.5637 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.1918, allocations: 48.92 kB / 0.5638 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.192, allocations: 97.03 kB / 0.5639 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1921, allocations: 30.56 kB / 0.5639 GB, free: 4.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1921, allocations: 0 / 0.5639 GB, free: 4.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006018/0.1927, allocations: 173.5 kB / 0.5641 GB, free: 4.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1927, allocations: 51.41 kB / 0.5641 GB, free: 4.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1928, allocations: 113.7 kB / 0.5642 GB, free: 4.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1929, allocations: 29.7 kB / 0.5642 GB, free: 4.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.1929, allocations: 92.12 kB / 0.5643 GB, free: 4.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.1929, allocations: 15.81 kB / 0.5643 GB, free: 4.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.193, allocations: 13.72 kB / 0.5644 GB, free: 4.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1931, allocations: 322.8 kB / 0.5647 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.1933, allocations: 43.95 kB / 0.5647 GB, free: 3.895 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.1935, allocations: 43.97 kB / 0.5647 GB, free: 3.852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.1938, allocations: 89.06 kB / 0.5648 GB, free: 3.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1938, allocations: 0 / 0.5648 GB, free: 3.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003742/0.1942, allocations: 121.6 kB / 0.5649 GB, free: 3.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.1942, allocations: 9.406 kB / 0.565 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1942, allocations: 0 / 0.565 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1942, allocations: 3.984 kB / 0.565 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1944, allocations: 27.92 kB / 0.565 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1944, allocations: 0 / 0.565 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.121e-05/0.1945, allocations: 15.98 kB / 0.565 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1945, allocations: 0 / 0.565 GB, free: 3.582 MB / 430.1 MB 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 0.0001117/0.1946, allocations: 117.8 kB / 0.5651 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.1947, allocations: 3.906 kB / 0.5651 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.1951, allocations: 129.5 kB / 0.5652 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1951, allocations: 7.984 kB / 0.5652 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1951, allocations: 0 / 0.5652 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1951, allocations: 0 / 0.5652 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.1953, allocations: 173.6 kB / 0.5654 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1953, allocations: 0 / 0.5654 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1955, allocations: 23.97 kB / 0.5654 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.1955, allocations: 3.938 kB / 0.5654 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1955, allocations: 3.938 kB / 0.5654 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1955, allocations: 4 kB / 0.5654 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1955, allocations: 0 / 0.5654 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.196, allocations: 219.3 kB / 0.5657 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.196, allocations: 89.03 kB / 0.5657 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.1961, allocations: 3.938 kB / 0.5657 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1962, allocations: 15.98 kB / 0.5658 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.1962, allocations: 4 kB / 0.5658 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1963, allocations: 7.984 kB / 0.5658 GB, free: 2.688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.908e-05/0.1963, allocations: 91.28 kB / 0.5659 GB, free: 2.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1963, allocations: 0 / 0.5659 GB, free: 2.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1966, allocations: 31.98 kB / 0.5659 GB, free: 2.566 MB / 430.1 MB 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.0009095/0.1975, allocations: 0.7864 MB / 0.5667 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.1979, allocations: 91.92 kB / 0.5667 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1979, allocations: 0 / 0.5667 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1981, allocations: 47.91 kB / 0.5668 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1984, allocations: 11.98 kB / 0.5668 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.2004, allocations: 1.486 MB / 0.5683 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.2008, allocations: 0.6848 MB / 0.5689 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.031e-05/0.2008, allocations: 11.98 kB / 0.5689 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.2009, allocations: 23.42 kB / 0.569 GB, free: 15.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2009, allocations: 0 / 0.569 GB, free: 15.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.2133, allocations: 2.096 MB / 0.571 GB, free: 13.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.2136, allocations: 200.4 kB / 0.5712 GB, free: 13.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.032, allocations: 3.938 kB / 0.5712 GB, free: 13.08 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)