Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008866/0.0008866, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008084/0.0008084, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8313/0.8313, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001422/0.001422, allocations: 237.7 kB / 259.4 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6656/0.6656, allocations: 138.4 MB / 454.3 MB, free: 29.89 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.051e-05, allocations: 5.234 kB / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002038/0.002059, allocations: 1.666 MB / 0.6479 GB, free: 184 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3243/0.3264, allocations: 131.5 MB / 0.7764 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.3264, allocations: 0 / 0.7764 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.3266, allocations: 27.73 kB / 0.7764 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.3268, allocations: 63.5 kB / 0.7765 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.3272, allocations: 191.2 kB / 0.7766 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3274, allocations: 163.4 kB / 0.7768 GB, free: 5.434 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3275, allocations: 26.62 kB / 0.7768 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007157/0.3282, allocations: 215.9 kB / 0.777 GB, free: 5.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.3283, allocations: 51.88 kB / 0.7771 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3283, allocations: 15.94 kB / 0.7771 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.3285, allocations: 163.7 kB / 0.7772 GB, free: 5.004 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.3285, allocations: 23.92 kB / 0.7773 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.3286, allocations: 39.89 kB / 0.7773 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.3288, allocations: 231.9 kB / 0.7775 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3288, allocations: 0 / 0.7775 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3288, allocations: 0 / 0.7775 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3288, allocations: 0 / 0.7775 GB, free: 4.715 MB / 0.6042 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.0005375/0.3294, allocations: 402.5 kB / 0.7779 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3294, allocations: 13.94 kB / 0.7779 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.3294, allocations: 38.73 kB / 0.778 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.3298, allocations: 80.41 kB / 0.778 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.33, allocations: 155 kB / 0.7782 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.33, allocations: 8 kB / 0.7782 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.33, allocations: 8 kB / 0.7782 GB, free: 3.969 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.3303, allocations: 181.8 kB / 0.7784 GB, free: 3.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3303, allocations: 3.938 kB / 0.7784 GB, free: 3.766 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3303, allocations: 0 / 0.7784 GB, free: 3.766 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3303, allocations: 4 kB / 0.7784 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.3305, allocations: 147.8 kB / 0.7785 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.3311, allocations: 0.7116 MB / 0.7792 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3314, allocations: 134.4 kB / 0.7793 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3315, allocations: 80.77 kB / 0.7794 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3315, allocations: 4 kB / 0.7794 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.3315, allocations: 30.56 kB / 0.7795 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.3315, allocations: 0 / 0.7795 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.000921/0.3325, allocations: 386.1 kB / 0.7798 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.3325, allocations: 51.41 kB / 0.7799 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.3326, allocations: 153.5 kB / 0.78 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3326, allocations: 25.7 kB / 0.78 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.3326, allocations: 116.1 kB / 0.7802 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3327, allocations: 31.73 kB / 0.7802 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3327, allocations: 33.7 kB / 0.7802 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.3328, allocations: 322.8 kB / 0.7805 GB, free: 1.438 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3329, allocations: 71.94 kB / 0.7806 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.333, allocations: 104.2 kB / 0.7807 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.3333, allocations: 188.4 kB / 0.7809 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3333, allocations: 0 / 0.7809 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004853/0.3338, allocations: 274.2 kB / 0.7811 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3338, allocations: 4 kB / 0.7811 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3338, allocations: 12.11 kB / 0.7811 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.3341, allocations: 80.7 kB / 0.7812 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3342, allocations: 35.97 kB / 0.7813 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.3354, allocations: 1.547 MB / 0.7828 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/0.3355, allocations: 20.06 kB / 0.7828 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3356, allocations: 16.98 kB / 0.7828 GB, free: 14.95 MB / 0.6198 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 7.149e-05/0.3356, allocations: 123.4 kB / 0.7829 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.3357, allocations: 11.94 kB / 0.7829 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.3362, allocations: 312.1 kB / 0.7832 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3362, allocations: 4 kB / 0.7832 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3362, allocations: 7.938 kB / 0.7832 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3362, allocations: 0 / 0.7832 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.3364, allocations: 187.1 kB / 0.7834 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3364, allocations: 3.984 kB / 0.7834 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.3365, allocations: 32.66 kB / 0.7835 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.3367, allocations: 76.72 kB / 0.7835 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3367, allocations: 7.984 kB / 0.7835 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3378, allocations: 1.581 MB / 0.7851 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3378, allocations: 0 / 0.7851 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.3383, allocations: 380.6 kB / 0.7854 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3383, allocations: 23.88 kB / 0.7855 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3383, allocations: 8 kB / 0.7855 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.3384, allocations: 15.98 kB / 0.7855 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.3385, allocations: 19.91 kB / 0.7855 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.3385, allocations: 4 kB / 0.7855 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.854e-05/0.3385, allocations: 121.4 kB / 0.7856 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.3385, allocations: 0 / 0.7856 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002051/0.3387, allocations: 43.94 kB / 0.7857 GB, free: 11.82 MB / 0.6198 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.0007122/0.3394, allocations: 0.9198 MB / 0.7866 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.3399, allocations: 301.1 kB / 0.7869 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3399, allocations: 256 / 0.7869 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.3401, allocations: 237.5 kB / 0.7871 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.3403, allocations: 29.59 kB / 0.7871 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3426, allocations: 2.059 MB / 0.7891 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.187e-05/0.3427, allocations: 93.75 kB / 0.7892 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.059e-05/0.3428, allocations: 32.91 kB / 0.7892 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.3428, allocations: 40.47 kB / 0.7893 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.3428, allocations: 0 / 0.7893 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.3604, allocations: 5.494 MB / 0.7946 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.887, allocations: 14.38 kB / 0.7947 GB, free: 2.699 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.34077215474099] Failed to read output from testmodel.py, exit status != 0: 7.974028556607664 7.981849683 7.651277325 Calling exit ...