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.001417/0.001417, allocations: 102.4 kB / 16.4 MB, free: 6.488 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.001295/0.001295, allocations: 199.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.225/2.225, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8607/0.8607, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.61 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1649, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003292/0.1682, allocations: 1.664 MB / 0.6332 GB, free: 3.254 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6759/0.8441, allocations: 149.7 MB / 0.7794 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.8443, allocations: 1.406 kB / 0.7794 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.8446, allocations: 26.03 kB / 0.7794 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.845, allocations: 50.81 kB / 0.7795 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.8457, allocations: 186.7 kB / 0.7796 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.8459, allocations: 163 kB / 0.7798 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.8461, allocations: 40.47 kB / 0.7798 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.8475, allocations: 183.3 kB / 0.78 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.8477, allocations: 62.45 kB / 0.7801 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.8477, allocations: 9.906 kB / 0.7801 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.8482, allocations: 165 kB / 0.7802 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.8483, allocations: 32.33 kB / 0.7803 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.8484, allocations: 53.17 kB / 0.7803 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006114/0.849, allocations: 205 kB / 0.7805 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.849, allocations: 1.344 kB / 0.7805 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.054e-06/0.849, allocations: 0 / 0.7805 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.849, allocations: 0 / 0.7805 GB, free: 13.86 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.001099/0.8501, allocations: 471.8 kB / 0.781 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.8502, allocations: 12.59 kB / 0.781 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.969e-05/0.8502, allocations: 40.19 kB / 0.781 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/0.8509, allocations: 57.41 kB / 0.7811 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.8513, allocations: 209.6 kB / 0.7813 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.8513, allocations: 7.938 kB / 0.7813 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.8513, allocations: 4.875 kB / 0.7813 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.8518, allocations: 185.6 kB / 0.7814 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8518, allocations: 0 / 0.7814 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.8518, allocations: 7.578 kB / 0.7815 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.8518, allocations: 2.781 kB / 0.7815 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.8524, allocations: 145.5 kB / 0.7816 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.8536, allocations: 0.8225 MB / 0.7824 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.854, allocations: 133.2 kB / 0.7825 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.8543, allocations: 80.81 kB / 0.7826 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.8544, allocations: 3.609 kB / 0.7826 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.8544, allocations: 35.48 kB / 0.7826 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.8544, allocations: 0 / 0.7826 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.002087/0.8565, allocations: 462.5 kB / 0.7831 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.8566, allocations: 52.59 kB / 0.7831 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.8567, allocations: 154.8 kB / 0.7833 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.8568, allocations: 26.83 kB / 0.7833 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.8568, allocations: 108.9 kB / 0.7834 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.8569, allocations: 28.86 kB / 0.7834 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.857, allocations: 32.64 kB / 0.7835 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8572, allocations: 323.2 kB / 0.7838 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.8575, allocations: 73.28 kB / 0.7838 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.8578, allocations: 102.8 kB / 0.7839 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.8583, allocations: 178.9 kB / 0.7841 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8583, allocations: 1.219 kB / 0.7841 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001113/0.8595, allocations: 278.3 kB / 0.7844 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.8595, allocations: 13.17 kB / 0.7844 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.8595, allocations: 1.062 kB / 0.7844 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.8601, allocations: 85.47 kB / 0.7845 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.8604, allocations: 35.75 kB / 0.7845 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.8629, allocations: 1.658 MB / 0.7861 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.8631, allocations: 31.11 kB / 0.7862 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.8632, allocations: 7.172 kB / 0.7862 GB, free: 9.965 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.000133/0.8633, allocations: 125.4 kB / 0.7863 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.8634, allocations: 13.59 kB / 0.7863 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.8644, allocations: 324 kB / 0.7866 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.8645, allocations: 2.969 kB / 0.7866 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.8645, allocations: 0 / 0.7866 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.8645, allocations: 1.734 kB / 0.7866 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.8648, allocations: 245.2 kB / 0.7868 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8648, allocations: 0 / 0.7868 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.865, allocations: 33.88 kB / 0.7869 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.8655, allocations: 72.09 kB / 0.7869 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.8655, allocations: 10.12 kB / 0.787 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.8675, allocations: 1.678 MB / 0.7886 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.8675, allocations: 400 / 0.7886 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.8686, allocations: 378.7 kB / 0.789 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.8688, allocations: 105.4 kB / 0.7891 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.8688, allocations: 5.219 kB / 0.7891 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.869, allocations: 22.77 kB / 0.7891 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.8691, allocations: 18.34 kB / 0.7891 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.8692, allocations: 5.094 kB / 0.7891 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.717e-05/0.8693, allocations: 118.7 kB / 0.7892 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8693, allocations: 1.203 kB / 0.7892 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003793/0.8696, allocations: 44.16 kB / 0.7893 GB, free: 7.809 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.001611/0.8713, allocations: 0.9193 MB / 0.7902 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.8724, allocations: 304.1 kB / 0.7905 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8724, allocations: 0 / 0.7905 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007034/0.8731, allocations: 233.7 kB / 0.7907 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.8736, allocations: 38.53 kB / 0.7907 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/0.8786, allocations: 2.066 MB / 0.7927 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.879, allocations: 0.7071 MB / 0.7934 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.8792, allocations: 28.2 kB / 0.7934 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.8793, allocations: 32.44 kB / 0.7935 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of SimCode: time 8.51e-07/0.8793, allocations: 0 / 0.7935 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9428/1.822, allocations: 4.835 MB / 0.7982 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/19.85, allocations: 9.484 kB / 0.7982 GB, free: 3.715 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)