Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.001073/0.001073, allocations: 108.3 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7389/0.7389, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.89 kB / 0.5572 GB, free: 32.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1563, allocations: 76.19 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003868/0.1602, allocations: 1.649 MB / 0.6332 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5825/0.7428, allocations: 149.7 MB / 0.7794 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.7429, allocations: 1.25 kB / 0.7794 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.7432, allocations: 23.5 kB / 0.7794 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.7434, allocations: 52.59 kB / 0.7794 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.744, allocations: 185.5 kB / 0.7796 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.7442, allocations: 163.2 kB / 0.7798 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.7444, allocations: 35.12 kB / 0.7798 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.7456, allocations: 205.5 kB / 0.78 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.7457, allocations: 64.06 kB / 0.7801 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.7457, allocations: 9.688 kB / 0.7801 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.7461, allocations: 159.2 kB / 0.7802 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.7461, allocations: 26.33 kB / 0.7803 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.7462, allocations: 54.03 kB / 0.7803 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.7466, allocations: 204.4 kB / 0.7805 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7466, allocations: 0 / 0.7805 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7466, allocations: 2.438 kB / 0.7805 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.7466, allocations: 0 / 0.7805 GB, free: 13.88 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009224/0.7475, allocations: 475.4 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7476, allocations: 8.562 kB / 0.781 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.7476, allocations: 40.58 kB / 0.781 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006385/0.7483, allocations: 59.27 kB / 0.7811 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.7485, allocations: 205.1 kB / 0.7813 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.7485, allocations: 6.625 kB / 0.7813 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.7485, allocations: 5.531 kB / 0.7813 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.749, allocations: 181.3 kB / 0.7814 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.749, allocations: 0 / 0.7814 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.749, allocations: 5.812 kB / 0.7814 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.749, allocations: 1.156 kB / 0.7814 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.7495, allocations: 157.8 kB / 0.7816 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.7506, allocations: 0.8199 MB / 0.7824 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.751, allocations: 131.9 kB / 0.7825 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.7512, allocations: 80 kB / 0.7826 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.7512, allocations: 2.609 kB / 0.7826 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.7513, allocations: 37.88 kB / 0.7826 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.7513, allocations: 1.469 kB / 0.7826 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001854/0.7531, allocations: 455 kB / 0.7831 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.7532, allocations: 55.34 kB / 0.7831 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.7533, allocations: 150.5 kB / 0.7833 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.7533, allocations: 25.7 kB / 0.7833 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.7534, allocations: 112.8 kB / 0.7834 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.7535, allocations: 36.06 kB / 0.7834 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.7535, allocations: 29.5 kB / 0.7835 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7537, allocations: 327.5 kB / 0.7838 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.7539, allocations: 67.81 kB / 0.7838 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.7542, allocations: 109.7 kB / 0.7839 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.7546, allocations: 182 kB / 0.7841 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7546, allocations: 0 / 0.7841 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001056/0.7557, allocations: 274.8 kB / 0.7844 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.7557, allocations: 14.34 kB / 0.7844 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.7558, allocations: 1.062 kB / 0.7844 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.7564, allocations: 81.73 kB / 0.7845 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.7566, allocations: 38 kB / 0.7845 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.7587, allocations: 1.658 MB / 0.7861 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.7589, allocations: 28.98 kB / 0.7862 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.759, allocations: 12.2 kB / 0.7862 GB, free: 9.98 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.7591, allocations: 117.8 kB / 0.7863 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.7591, allocations: 12.94 kB / 0.7863 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.7602, allocations: 317.6 kB / 0.7866 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7602, allocations: 1.5 kB / 0.7866 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.7602, allocations: 5.312 kB / 0.7866 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7602, allocations: 0 / 0.7866 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.7605, allocations: 244.6 kB / 0.7868 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7605, allocations: 3.938 kB / 0.7868 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.7607, allocations: 31.08 kB / 0.7869 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/0.7611, allocations: 75.22 kB / 0.7869 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.7611, allocations: 8.219 kB / 0.787 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.763, allocations: 1.691 MB / 0.7886 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.763, allocations: 0 / 0.7886 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.764, allocations: 378.2 kB / 0.789 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.7641, allocations: 106.3 kB / 0.7891 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.7642, allocations: 3.312 kB / 0.7891 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.7644, allocations: 23.98 kB / 0.7891 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.7645, allocations: 13.61 kB / 0.7891 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.7645, allocations: 5.094 kB / 0.7891 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.28e-05/0.7646, allocations: 115.1 kB / 0.7892 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7646, allocations: 1.375 kB / 0.7892 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003929/0.765, allocations: 46.62 kB / 0.7893 GB, free: 7.824 MB / 0.5919 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/0.7663, allocations: 0.9174 MB / 0.7902 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008751/0.7672, allocations: 304.5 kB / 0.7905 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7672, allocations: 0 / 0.7905 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.7678, allocations: 243.5 kB / 0.7907 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.7681, allocations: 23.11 kB / 0.7907 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.7719, allocations: 2.061 MB / 0.7927 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.7722, allocations: 0.7109 MB / 0.7934 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.7724, allocations: 21.77 kB / 0.7934 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.073e-05/0.7725, allocations: 39.06 kB / 0.7935 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.7725, allocations: 3.938 kB / 0.7935 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.7989, allocations: 4.839 MB / 0.7982 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.2, allocations: 9.594 kB / 0.7982 GB, free: 3.723 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)